The 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.
QueueRequestorhelper class simplifies making service requests.The
QueueRequestorconstructor is given a non-transactedQueueSessionand a destinationQueue. It creates aTemporaryQueuefor the responses and provides arequestmethod 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.