org.apache.activemq
Interface EnhancedConnection

All Superinterfaces:
Closeable, Connection, QueueConnection, TopicConnection
All Known Implementing Classes:
ActiveMQConnection, ActiveMQXAConnection

public interface EnhancedConnection
extends TopicConnection, QueueConnection, Closeable

A set of enhanced APIs for a JMS provider


Method Summary
 DestinationSource getDestinationSource()
          Returns the DestinationSource object 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.TopicConnection
createConnectionConsumer, createDurableConnectionConsumer, createTopicSession
 
Methods inherited from interface javax.jms.QueueConnection
createConnectionConsumer, createQueueSession
 
Methods inherited from interface javax.jms.Connection
close, createConnectionConsumer, createSession, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop
 
Methods inherited from interface org.apache.activemq.Closeable
close
 

Method Detail

getDestinationSource

DestinationSource getDestinationSource()
                                       throws JMSException
Returns the DestinationSource object 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:
JMSException


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.