当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档
TopicRequestor (JBoss J2EE API) - JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档
javax.jms
Class TopicRequestor
java.lang.Object
javax.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.6 $
- Author:
- Chris Kimpton (chris@kimptoc.net), adrian brock (adrian@jboss.com)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TopicRequestor
public TopicRequestor(TopicSession session,
Topic topic)
throws JMSException
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.