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


Public Types | |
| enum | { xmogDefaultFlags = xmog_base::GLOBAL, xmogMajorVersion = 3, xmogMinorVersion = 2, xmogPatchVersion = 9, xmogBuildNumber = 2047 } |
|
typedef ::xmog_java_array_template< ::javax::jms::TopicRequestor > | array1D |
|
typedef ::xmog_java_array_template< ::xmog_java_array_template< ::javax::jms::TopicRequestor > > | array2D |
Public Member Functions | |
| virtual void | close (::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
Closes the TopicRequestor and its session. | |
| 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. | |
| TopicRequestor (const ::javax::jms::TopicSession &session, const ::javax::jms::Topic &topic,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) | |
Constructor for the TopicRequestor class. | |
TopicRequestor helper class simplifies making service requests.
The TopicRequestor constructor is given a non-transacted TopicSession and a destination Topic. It creates a TemporaryTopic 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 topic is used for the
|
1.4.1