QueueRequestor helper class simplifies making service requests.
More...
#include <javax_jms_QueueRequestor.h>
Inheritance diagram for javax::jms::QueueRequestor:


Public Types | |
| enum | { xmogDefaultFlags = xmog_base::GLOBAL, xmogMajorVersion = 3, xmogMinorVersion = 2, xmogPatchVersion = 9, xmogBuildNumber = 2047 } |
|
typedef ::xmog_java_array_template< ::javax::jms::QueueRequestor > | array1D |
|
typedef ::xmog_java_array_template< ::xmog_java_array_template< ::javax::jms::QueueRequestor > > | array2D |
Public Member Functions | |
| virtual void | close (::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
Closes the QueueRequestor and its session. | |
| QueueRequestor (const ::javax::jms::QueueSession &session, const ::javax::jms::Queue &queue,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) | |
Constructor for the QueueRequestor class. | |
| virtual ::javax::jms::Message | request (const ::javax::jms::Message &message,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Sends a request and waits for a reply. | |
QueueRequestor helper class simplifies making service requests.
The QueueRequestor constructor is given a non-transacted QueueSession and a destination Queue. It creates a TemporaryQueue for the responses and provides a request method that sends the request message and waits for its reply.
This is a basic request/reply abstraction that should be sufficient for most uses. JMS providers and clients are free to create more sophisticated versions.
Rich Burridge
|
||||||||||||||||||||
|
Constructor for the
This implementation assumes the session parameter to be non-transacted, with a delivery mode of either
|
|
||||||||||||
|
Closes the
Since a provider may allocate some resources on behalf of a
Note that this method closes the
|
|
||||||||||||||||
|
Sends a request and waits for a reply.
The temporary queue is used for the
|
1.4.1