Package org.apache.activemq
Interface EnhancedConnection
-
- All Superinterfaces:
AutoCloseable,Closeable,javax.jms.Connection,javax.jms.QueueConnection,javax.jms.TopicConnection
- All Known Implementing Classes:
ActiveMQConnection,ActiveMQXAConnection
public interface EnhancedConnection extends javax.jms.TopicConnection, javax.jms.QueueConnection, Closeable
A set of enhanced APIs for a JMS provider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DestinationSourcegetDestinationSource()Returns theDestinationSourceobject which can be used to listen to destinations being created or destroyed or to enquire about the current destinations available on the broker-
Methods inherited from interface javax.jms.Connection
close, createConnectionConsumer, createSession, createSession, createSession, createSharedConnectionConsumer, createSharedDurableConnectionConsumer, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop
-
-
-
-
Method Detail
-
getDestinationSource
DestinationSource getDestinationSource() throws javax.jms.JMSException
Returns theDestinationSourceobject which can be used to listen to destinations being created or destroyed or to enquire about the current destinations available on the broker- Returns:
- a lazily created destination source
- Throws:
javax.jms.JMSException
-
-