Save This Page
Home » activemq-parent-5.3.1-source-release » org.apache » activemq » [javadoc | source]
org.apache.activemq
public interface: Closeable [javadoc | source]

All Known Implementing Classes:
    PooledConnection, ActiveMQTopicPublisher, EnhancedConnection, CamelQueueSender, ActiveMQMessageProducerSupport, CamelConnection, ActiveMQXAConnection, ActiveMQMessageProducer, CamelMessageProducer, CamelTopicPublisher, ActiveMQQueueSender, ActiveMQConnection

Provides a uniform interface that can be used to close all the JMS obejcts that provide a close() method. Useful for when you want to collect a heterogeous set of JMS object in a collection to be closed at a later time.
Method from org.apache.activemq.Closeable Summary:
close
Method from org.apache.activemq.Closeable Detail:
 public  void close() throws JMSException
    Closes a JMS object.

    Many JMS objects are closeable such as Connections, Sessions, Consumers and Producers.