|
|
Syntax
public interface AQjmsTopicReceiver extends TopicReceiverAll Superinterfaces
javax.jms.MessageConsumer, TopicReceiverAll Known Implementing Classes
AQjmsConsumer
Description
This interface extends the TopicReceiver interface that defines AQ extensions for remote subscribers and explicitly specified recipients (in point-to-mulitpoint communication). A TopicReceiver is used to receive messages from a Topic
Inherited Member Summary
Methods inherited from interface TopicReceiver
getTopic()Methods inherited from interface javax.jms.MessageConsumer
close, getMessageListener, getMessageSelector, receive, receive, receiveNoWait, setMessageListenerMethods
getNavigationMode()
get the navigation mode used for receiving messages
Returns
the navigation mode
Throws
JMSException - if there was an error in getting the navigation modegetTransformation()
public String getTransformation()Get the transformation for this receiver
Returns
the transformation
Throws
JMSException - if there was an error in getting the transformationreceiveNoData()
public void receiveNoData()
Consume the message without returning it to the user. This call will avoid the overhead of fetching the message from the database and hence can be used as an optimization by jms clients who have already got the message for example using a queue browser.
Throws
JMSException - if the message could not be received due to an errorreceiveNoData(long)
public void receiveNoData(long tomeOut)Consume the message without returning it to the user. This call will avoid the overhead of fetching the message from the database and hence can be used as an optimization by jms clients who have already got the message for example using a queue browser. This call will block until a message arrives or the timeout expires
Parameters
timeout - the timeout value in millisecondsThrows
JMSException - if the message could not be received due to an error
setTransformation(String)
public void setTransformation(String transformation)Set transformation for this receiver. This transformation will be applied before the message is returned to the user.
Parameters
transformation - transformation to be applied before returning the messageThrows
JMSException - if there was an error in setting the transformationsetNavigationMode(int)
public void setNavigationMode(int mode)set the navigation mode used for receiving messages
Parameters
mode - the new value of the navigation modeThrows
JMSException - if there was an error in getting the navigation mode
|
|
Oracle 9i Related Tutorials |
|
---|---|
Oracle 10g Tutorial | Oracle 8i Tutorial |
Informatica Tutorial | Oracle 11g Tutorial |
All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.