org.springframework.jms.connection

Class JmsResourceHolder

    • Constructor Detail

      • JmsResourceHolder

        public JmsResourceHolder(@Nullable
                                 ConnectionFactory connectionFactory)
        Create a new JmsResourceHolder that is open for resources to be added.
        Parameters:
        connectionFactory - the JMS ConnectionFactory that this resource holder is associated with (may be null)
      • JmsResourceHolder

        public JmsResourceHolder(Session session)
        Create a new JmsResourceHolder for the given JMS Session.
        Parameters:
        session - the JMS Session
      • JmsResourceHolder

        public JmsResourceHolder(Connection connection,
                                 Session session)
        Create a new JmsResourceHolder for the given JMS resources.
        Parameters:
        connection - the JMS Connection
        session - the JMS Session
      • JmsResourceHolder

        public JmsResourceHolder(@Nullable
                                 ConnectionFactory connectionFactory,
                                 Connection connection,
                                 Session session)
        Create a new JmsResourceHolder for the given JMS resources.
        Parameters:
        connectionFactory - the JMS ConnectionFactory that this resource holder is associated with (may be null)
        connection - the JMS Connection
        session - the JMS Session