QueueConnection object is an active connection to a point-to-point JMS provider.
More...
#include <javax_jms_QueueConnection.h>
Inheritance diagram for javax::jms::QueueConnection:


Public Types | |
| enum | { xmogDefaultFlags = xmog_base::GLOBAL, xmogMajorVersion = 3, xmogMinorVersion = 2, xmogPatchVersion = 9, xmogBuildNumber = 2047 } |
|
typedef ::xmog_java_array_template< ::javax::jms::QueueConnection > | array1D |
|
typedef ::xmog_java_array_template< ::xmog_java_array_template< ::javax::jms::QueueConnection > > | array2D |
Public Member Functions | |
| virtual ::javax::jms::ConnectionConsumer | createConnectionConsumer (const ::javax::jms::Queue &queue, const ::java::lang::String &messageSelector, const ::javax::jms::ServerSessionPool &sessionPool, jint maxMessages,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Creates a connection consumer for this connection (optional operation). | |
| virtual ::javax::jms::QueueSession | createQueueSession (bool transacted, jint acknowledgeMode,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
Creates a QueueSession object. | |
QueueConnection object is an active connection to a point-to-point JMS provider.
A client uses a QueueConnection object to create one or more QueueSession objects for producing and consuming messages.
A 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 Connection object.
The QueueConnection object should be used to support existing code that has already used it.
A QueueConnection cannot be used to create objects specific to the publish/subscribe domain. The createDurableConnectionConsumer method inherits from Connection, but must throw an IllegalStateException if used from QueueConnection.
Rich Burridge
Kate Stout
|
||||||||||||||||||||||||||||
|
Creates a connection consumer for this connection (optional operation). This is an expert facility not used by regular JMS clients.
|
|
||||||||||||||||||||
|
Creates a
Reimplemented in javax::jms::XAQueueConnection. |
1.4.1