All Implemented Interfaces:
All Known Implementing Classes:
QueueConnectionobject is an active connection to a point-to-point JMS provider. A client uses a
QueueConnectionobject to create one or more
QueueSessionobjects for producing and consuming messages.
QueueConnection can be used to create a
QueueSession, from which specialized queue-related objects
can be created.
A more general, and recommended, approach is to use the
should be used to support existing code that has already used it.
QueueConnection cannot be used to create objects
specific to the publish/subscribe domain. The
createDurableConnectionConsumer method inherits
Connection, but must throw an
if used from
|Method from javax.jms.QueueConnection Summary:|
|Method from javax.jms.QueueConnection Detail:|
public ConnectionConsumer createConnectionConsumer(Queue queue, String messageSelector, ServerSessionPool sessionPool, int maxMessages) throws JMSException