站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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
  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.6 $
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.