- All Known Implementing Classes:
- ActiveMQConnection, ActiveMQMessageConsumer, ActiveMQMessageProducer
- public interface Closeable
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.
- Version:
- $Revision: 1.1.1.1 $
|
Method Summary |
void |
close()
Closes a JMS object. |
close
public void close()
throws javax.jms.JMSException
- Closes a JMS object.
Many JMS objects are closeable such as Connections, Sessions, Consumers and Producers.