Author |
Message
|
mqjeff |
Posted: Thu Jun 23, 2016 7:35 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
|
paustin_ours |
Posted: Thu Jun 23, 2016 8:04 am Post subject: |
|
|
Yatiri
Joined: 19 May 2004 Posts: 667 Location: columbus,oh
|
I don't believe i have to do a Browse first, if rfhutil can browse and retrieve the message that matches correl ID in one click, i am sure it can be done in code. I still feel like i am missing something options. |
|
Back to top |
|
|
fjb_saper |
Posted: Thu Jun 23, 2016 8:40 am Post subject: |
|
|
Grand High Poobah
Joined: 18 Nov 2003 Posts: 20696 Location: LI,NY
|
First time around you should have browse first. All subsequent iterations should have browse next.... and don't forget to clear each of msgid and correlid if you don't want it to match on those for each iteration.
clear = set to MQMI_NONE and MQCI_NONE.
Have fun _________________ MQ & Broker admin |
|
Back to top |
|
|
paustin_ours |
Posted: Thu Jun 23, 2016 8:49 am Post subject: |
|
|
Yatiri
Joined: 19 May 2004 Posts: 667 Location: columbus,oh
|
browse first on the first return itself generates an output even though the correlID doesnt match. With what you were saying, i would at least hope that the browse first wont return anything and then a subsequent browse next will match?
am i not understanding what you guys are saying? please correct me. thanks for taking the time. |
|
Back to top |
|
|
paustin_ours |
Posted: Thu Jun 23, 2016 8:56 am Post subject: |
|
|
Yatiri
Joined: 19 May 2004 Posts: 667 Location: columbus,oh
|
i tried a browse first with match with correlID
clear MsgID and correlID and then
followed by browse next with match with correlID
both times i am getting the first message off the queue that doesnt match the corellID |
|
Back to top |
|
|
fjb_saper |
Posted: Thu Jun 23, 2016 9:28 am Post subject: |
|
|
Grand High Poobah
Joined: 18 Nov 2003 Posts: 20696 Location: LI,NY
|
O.K. so you want to match on CorrelId. Only clear the msgid, groupid...
Make sure the correlid it wants to match on is taken from the MQMD (see MQGet node setup) and is populated correctly. Remember that this is a BLOB.
See how that works? _________________ MQ & Broker admin |
|
Back to top |
|
|
|