Oracle® Streams Advanced Queuing Java API Reference
Release 1 (10.1)

B12023-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 AQ specific variation of publish subscribe

See Also:
AQjmsTopicReceiver

Method Summary
 javax.jms.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 javax.jms.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
Release 1 (10.1)

B12023-01

Copyright © 2003, Oracle. All Rights Reserved.