|
Oracle® Streams Advanced Queuing Java API Reference 10g Release 2 (10.2) B14291-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Oracle Advanced Queueing allows messages to be sent to all subscribers of a topic (standard JMS behaviour) or to a set of specific recipients (These recipients may or may not be subscribers of the topic). Recipients that are not currently subscribing to a topic can create and use AQjmsTopicReceivers to receive messages explicitly sent to them.
AQjmsSession.createTopicReceiver(Topic,String,String)| Method Summary | |
int |
getNavigationMode()Get the navigation mode used for receiving messagess. |
java.lang.String |
getTransformation()Get the transformation for the Consumer. |
Message |
receive(oracle.jms.AQjmsSignature signature)Receive the next message |
Message |
receive(long timeout, oracle.jms.AQjmsSignature signature)Receive the next message if available within the specified timeout. |
void |
receiveNoData()Consume the message without returning it to the user. |
void |
receiveNoData(long timeout)Consume the message without returning it to the user. |
Message |
receiveSignature()Only return the signature to the user. |
Message |
receiveSignature(long timeout)Only return the signature to the user. |
void |
setNavigationMode(int mode)Set the navigation mode used for receiving messagess. |
void |
setTransformation(java.lang.String transformation)Set transformation for this receiver. |
| Methods inherited from interface oracle.jms.TopicReceiver |
getTopic |
| Methods inherited from interface javax.jms.MessageConsumer |
close, getMessageListener, getMessageSelector, receive, receive, receiveNoWait, setMessageListener |
| Method Detail |
public int getNavigationMode()
throws JMSException
JMSException - if there was an error in getting the navigation mode
public void setNavigationMode(int mode)
throws JMSException
mode - the navigation modeJMSException - if there was an error in setting the navigation mode
public void receiveNoData()
throws JMSException
JMSException - if the message could not be received due to an error
public void receiveNoData(long timeout)
throws JMSException
timeout - the timeout value in millisecondsJMSException - if the message could not be received due to an error
public Message receive(oracle.jms.AQjmsSignature signature)
throws JMSException
signature - the signature valuenull if one is not available.JMSException - if JMS fails to receive the next message due to some error.
public Message receive(long timeout,
oracle.jms.AQjmsSignature signature)
throws JMSException
timeout - the timeout value (in milliseconds)signature - the signature valuenull if one is not available.JMSException - if JMS fails to receive the next message due to some error.
public Message receiveSignature()
throws JMSException
JMSException - if the message could not be received due to an error
public Message receiveSignature(long timeout)
throws JMSException
timeout - the timeout value in millisecondsJMSException - if the message could not be received due to an errorpublic void setTransformation(java.lang.String transformation)
transformation - transformation namepublic java.lang.String getTransformation()
TopicReceiver.
|
Oracle® Streams Advanced Queuing Java API Reference 10g Release 2 (10.2) B14291-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||