May 2001
Intermediate to advanced
1088 pages
30h 13m
English
The QueueRequestor class makes it easier to send a message and wait for a reply.
public QueueRequestor(QueueSession session, Queue queue) throws JMSException
Creates a new QueueRequestor on the specified queue using the specified queue session.
close
Closes this QueueRequestor and releases any resources it holds.
request public Message request(Message reqMessage) throws JMSException
Sends a request message and waits for a reply.
Like the QueueRequestor class, the TopicRequestor class makes it easier to send a message and wait for a reply.
public TopicRequestor(TopicSession session, Topic topic) throws JMSException
Creates a new TopicRequestor on the specified topic using the ...
Read now
Unlock full access