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.
Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

bocadmin_ww

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today