public interface AQjmsQueueReceiver extends QueueReceiver
javax.jms.QueueReceiver.| Modifier and Type | Method and Description |
|---|---|
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.
|
getQueueclose, getMessageListener, getMessageSelector, receive, receive, receiveNoWait, setMessageListenerint getNavigationMode()
throws JMSException
JMSException - if there was an error in getting the navigation modevoid setNavigationMode(int mode)
throws JMSException
mode - the new value of the navigation mode. See the "Oracle® AI Database Advanced Queuing User's Guide and Reference" for explanation of the navigation mode. The valid values of this parameter are oracle.jms.AQjmsConstants.NAVIGATION_FIRST_MESSAGE oracle.jms.AQjmsConstants.NAVIGATION_NEXT_MESSAGE oracle.jms.AQjmsConstants.NAVIGATION_NEXT_TRANSACTIONJMSException - if there was an error in setting the navigation modevoid receiveNoData()
throws JMSException
JMSException - if the message could not be received due to an errorvoid 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