Package jakarta.jms

Class TopicRequestor

java.lang.Object
jakarta.jms.TopicRequestor

public class TopicRequestor extends Object
The 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 very basic request/reply abstraction which assumes the session is non-transacted with a delivery mode of either AUTO_ACKNOWLEDGE or DUPS_OK_ACKNOWLEDGE. It is expected that most applications will create less basic implementations.

Since:
JMS 1.0
Version:
Jakarta Messaging 2.0
See Also: