javax.jms
Class TopicRequestor

java.lang.Object
  extended byjavax.jms.TopicRequestor

public class TopicRequestor
extends java.lang.Object

Provides a basic request/reply layer ontop of JMS. Pass the constructor details of the session/topic to send requests upon. Then call the request method to send a request. The method will block until the reply is received.


Constructor Summary
TopicRequestor(TopicSession (src)  session, Topic (src)  topic)
           
 
Method Summary
 void close()
           
 Message (src) request(Message (src)  message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TopicRequestor

public TopicRequestor(TopicSession (src)  session,
                      Topic (src)  topic)
               throws JMSException (src) 
Method Detail

request

public Message (src)  request(Message (src)  message)
                throws JMSException (src) 
Throws:
JMSException (src)

close

public void close()
           throws JMSException (src) 
Throws:
JMSException (src)