09.12.2012 Views

Advanced Queuing - Oracle

Advanced Queuing - Oracle

Advanced Queuing - Oracle

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

See Also:<br />

Purpose<br />

Create a durable subscriber for a jms topic with selector.<br />

Creating a Durable Subscriber for a JMS Topic with Selector<br />

Table 15–1 for a list of publish-subscribe basic operations in the<br />

<br />

JMS operational interface<br />

"Interface - javax.jms.TopicSession" on page B-39<br />

"Creating a Durable Subscriber for a JMS Topic without<br />

<br />

Selector" on page 15-24<br />

Usage Notes<br />

The client creates a durable subscriber by specifying a subscriber name and JMS<br />

topic. Optionally, a message selector can be specified. Only messages with<br />

properties matching the message selector expression are delivered to the subscriber.<br />

The selector value may be null. The selector can contain any SQL92 expression that<br />

has a combination of one or more of the following:<br />

JMS Message header fields or properties: JMSPriority (int), JMSCorrelationID<br />

<br />

(string), JMSType (string), JMSXUserID (string), JMSXAppID (string),<br />

JMSXGroupID (string) JMSXGroupSeq (int)<br />

For example:<br />

JMSPriority < 3 AND JMSCorrelationID = 'Fiction'<br />

User defined message properties<br />

<br />

For example:<br />

color IN ('RED', BLUE', 'GREEN') AND price < 30000<br />

Operators allowed are:<br />

logical operators in precedence order NOT, AND, OR comparison operators<br />

=, >, >=,

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

Saved successfully!

Ooh no, something went wrong!