52.3. Constructor
The following constructor is defined by the class javax.jms.TopicRequestor.
TopicRequestor
public TopicRequestor(TopicSession session, Topic topic)
Constructor for the TopicRequestor class.
This implementation assumes the session parameter to be non-transacted, with a delivery mode of either AUTO_ACKNOWLEDGE or DUPS_OK_ACKNOWLEDGE.
PARAMETERS:
session the TopicSession the topic belongs to topic the topic to perform the request/reply call on THROWS:
JMSException if the JMS provider fails to create the TopicRequestor due to some internal error InvalidDestinationException if an invalid topic is specified
Get Java™ Message Service API Tutorial and Reference: Messaging for the J2EE™ Platform now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.