|
Oracle® Streams Advanced Queuing Java API Reference 11g Release 2 (11.2) E10768-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AQjmsQueueReceiver
Adds Oracle® Streams Advanced Queuing extensions to javax.jms.QueueReceiver.
Allows use of transformations and AQ navigation modes
| Method Summary | |
|---|---|
int |
getNavigationMode()get the navigation mode used for receiving messagess |
java.lang.String |
getTransformation()Get the transformation for the QueueReceiver |
void |
receiveNoData()Consume the message without returning it to the user. |
void |
receiveNoData(long timeout)Consume the message without returning it 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 javax.jms.QueueReceiver |
|---|
getQueue |
| Methods inherited from interface javax.jms.MessageConsumer |
|---|
close, getMessageListener, getMessageSelector, receive, receive, receiveNoWait, setMessageListener |
| Method Detail |
|---|
int getNavigationMode()
throws JMSException
JMSException - if there was an error in getting the navigation mode
void setNavigationMode(int mode)
throws JMSException
mode - the new value of the navigation mode. See Oracle "Streams Advanced Queuing User's Guide and Reference" for explanation of the navigation mode. the valid values of this parameter are oracle.jms.AQjmsConstants.FIRST_MESSAGE oracle.jms.AQjmsConstants.NEXT_MESSAGE oracle.jms.AQjmsConstants.NEXT_TRANSACTIONJMSException - if there was an error in setting the navigation mode
void receiveNoData()
throws JMSException
JMSException - if the message could not be received due to an error
void receiveNoData(long timeout)
throws JMSException
timeout - the timeout value in millisecondsJMSException - if the message could not be received due to an errorvoid setTransformation(java.lang.String transformation)
transformation - transformation namejava.lang.String getTransformation()
QueueReceiver
|
Oracle® Streams Advanced Queuing Java API Reference 11g Release 2 (11.2) E10768-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||