09.12.2012 Views

Advanced Queuing - Oracle

Advanced Queuing - Oracle

Advanced Queuing - Oracle

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Creating a Queue Browser for Queues with Text, Stream, Objects, Bytes, Map Messages, Locking Messages<br />

/* create a Browser to look at messages with correlationID = RUSH */<br />

browser = jms_session.createBrowser(queue, "JMSCorrelationID = ’RUSH'");<br />

Creating a Queue Browser for Queues with Text, Stream, Objects,<br />

Bytes, Map Messages, Locking Messages<br />

Figure 14–10 Creating a Queue Browser for Queues with Text, Stream, Objects, Bytes or Map<br />

Messages, Locking Messages While Browsing<br />

User/<br />

Program<br />

JMS Operational Interface - Session<br />

CREATE<br />

a<br />

Queue<br />

Browser<br />

See Also:<br />

createBrowser, for queues with text, stream, object, bytes<br />

or map messages, locking messages while browsing<br />

specify<br />

Queue<br />

specify<br />

Message<br />

Selector<br />

Table 14–1 for a list of JMS operational interface basic<br />

<br />

operations<br />

"Interface - javax.jms.Session" on page B-34<br />

:<br />

CREATING a Queue Browser for Queues<br />

of Standard JMS Type Messages<br />

Purpose<br />

Create a queue browser for queues with text, stream, objects, bytes or map<br />

messages, locking messages while browsing.<br />

JMS Operational Interface: Basic Operations (Point-to-Point) 14-17

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!