javax.jms
Class TopicRequestor

java.lang.Object
  extended byjavax.jms.TopicRequestor

public class TopicRequestor
extends 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.

Version:
$Revision: 1.1.8.2 $
Author:
Chris Kimpton (chris@kimptoc.net), adrian brock (adrian@jboss.com)

Constructor Summary
TopicRequestor(TopicSession session, Topic topic)
           
 
Method Summary
 void close()
           
 Message request(Message 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 session,
                      Topic topic)
               throws JMSException
Method Detail

request

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

close

public void close()
           throws JMSException
Throws:
JMSException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.