AQjmsTopicSubscriber - Oracle 9i

Syntax

public interface AQjmsTopicSubscriber extends javax.jms.TopicSubscriber

All Superinterfaces

javax.jms.MessageConsumer, javax.jms.TopicSubscriber

All Known Implementing Classes
AQjmsConsumer

Description
This interface extends TopicSubscriber and defines AQ extensions to JMS. A client uses a TopicSubscriber to receive messages published on a Topic
AQjmsTopicSubscriber

Inherited Member Summary

Methods inherited from interface javax.jms.TopicSubscriber

getNoLocal, getTopic

Methods inherited from interface javax.jms.MessageConsumer

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

Methods
getNavigationMode()

public int getNavigationMode()

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

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

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 © 2020 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

Oracle 9i Topics