Oracle® Streams Advanced Queuing Java API Reference
10g Release 2 (10.2)

B14291-01


oracle.jms
Interface TopicReceiver

All Superinterfaces:
MessageConsumer
All Known Subinterfaces:
AQjmsTopicReceiver
All Known Implementing Classes:
AQjmsConsumer

public interface TopicReceiver
extends MessageConsumer

Extends javax.jms.MessageConsumer to allow point to multipoint communication, which is an Oracle Streams Advanced Queuing specific variation of publish subscribe

See Also:
AQjmsTopicReceiver

Method Summary
 Topic getTopic()
          Get the topic associated with this receiver.

 

Methods inherited from interface javax.jms.MessageConsumer
close, getMessageListener, getMessageSelector, receive, receive, receiveNoWait, setMessageListener

 

Method Detail

getTopic

public Topic getTopic()
               throws JMSException
Get the topic associated with this receiver.
Returns:
this subscriber's topic
Throws:
JMSException - if JMS fails to get topic for this topic receiver due to some internal error.

Oracle® Streams Advanced Queuing Java API Reference
10g Release 2 (10.2)

B14291-01


Copyright © 2003, 2005, Oracle. All rights reserved.