« SetActionListener settings when Dialog used in Action - ADF 10.1.3.3 | Main | How to deploy ADF Application on Oracle WebLogic 10.3 »

How to Consume selected messages - Oracle AQJMS

Set Correlation ID in JMS Client1 code using below statement .

Message mesg = m_queueSess.createTextMessage("Test Message");
mesg.setJMSCorrelationID("Fusion");


Use condition as "JMSCorrelationID LIKE 'Fus%'" as second argument in createReceiver API in JMS Client2 code.

QueueReceiver m_receiver=m_queueSess.createReceiver(m_queue, "JMSCorrelationID LIKE 'Fus%'");

createReceiver function creates receiver object only if it matches the condition given.

TrackBack

TrackBack URL for this entry:
http://blogs.oracle.com/mte1521/mt-tb.cgi/8299

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About This Entry

This page contains a single entry from the blog posted on October 31, 2008 2:41 AM.

The previous post in this blog was SetActionListener settings when Dialog used in Action - ADF 10.1.3.3.

The next post in this blog is How to deploy ADF Application on Oracle WebLogic 10.3.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type and Oracle