AQjmsTopicReceiver - Oracle 9i

Syntax

public interface AQjmsTopicReceiver extends TopicReceiver

All Superinterfaces

javax.jms.MessageConsumer, TopicReceiver

All 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

AQjmsTopicReceiver

Inherited Member Summary

Methods inherited from interface TopicReceiver

getTopic()

Methods inherited from interface javax.jms.MessageConsumer

close, getMessageListener, getMessageSelector, receive, receive, receiveNoWait, setMessageListener

Methods
getNavigationMode()

public int getNavigationMode()

get the navigation mode used for receiving messages

Returns
the navigation mode

Throws

JMSException - if there was an error in getting the navigation mode

getTransformation()

public String getTransformation()

Get the transformation for this receiver

Returns
the transformation

Throws

JMSException - if there was an error in getting the transformation

receiveNoData()
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 error

receiveNoData(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 milliseconds

Throws
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 message

Throws

JMSException - if there was an error in setting the transformation

setNavigationMode(int)

public void setNavigationMode(int mode)

set the navigation mode used for receiving messages

Parameters

mode - the new value of the navigation mode

Throws

JMSException - if there was an error in getting the navigation mode

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

Oracle 9i Topics