Skip navigation links

Oracle® Streams Advanced Queuing Java API Reference
11g Release 2 (11.2)

E10768-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

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.

Skip navigation links

Oracle® Streams Advanced Queuing Java API Reference
11g Release 2 (11.2)

E10768-01


Copyright © 2003, 2009, Oracle and/or its affiliates. All rights reserved.