Interface ActiveMQConnectionForContext

All Superinterfaces:
AutoCloseable, Connection
All Known Implementing Classes:
ActiveMQConnection, ActiveMQConnectionForContextImpl, ActiveMQRASessionFactoryImpl, ActiveMQXAConnection

public interface ActiveMQConnectionForContext extends Connection
Interface created to support reference counting all contexts using it.

Necessary to support JMSContext.close() conditions.

See Also:
  • Method Details

    • createContext

      JMSContext createContext(int sessionMode)
    • createXAContext

      XAJMSContext createXAContext()
    • closeFromContext

      void closeFromContext()