|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Read Msgs using MQGet node |
« View previous topic :: View next topic » |
Author |
Message
|
Lucky |
Posted: Mon Dec 01, 2008 11:40 pm Post subject: Read Msgs using MQGet node |
|
|
Apprentice
Joined: 06 Feb 2007 Posts: 35
|
Hi,
MQGet node provides an option where message can be read from specified queue by matching particular CorrelId or MessageID.
We have a req. where source will not set CorrelID/MessageID with any details but they send <usr> field of RFH2 header.
Now how to use MQGet node to match <usr> value & read that particular message.
Moreover i'm not sure whether MQGET node supports matching RFH2.usr header value & read msg(Similar to CorrelID). If yes and someone has implemented this earlier, please share the details what settings should be done in MQGet node.
Please share the views |
|
Back to top |
|
 |
Vitor |
Posted: Tue Dec 02, 2008 12:31 am Post subject: Re: Read Msgs using MQGet node |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Lucky wrote: |
Moreover i'm not sure whether MQGET node supports matching RFH2.usr header value & read msg(Similar to CorrelID). |
AFAIK the only matching the MQGet node will do is on MsgId or CorrelId. I'd be interested to discover otherwise.
I suspect you'll end up doing a get from this queue, extracting the usr value with a Compute node and then processing it accordinging.
I would strongly urge you not to try and extract the usr value, put it in the CorrelId and then push the message back onto a queue. Setting a CorrelId with anything that wasn't originally a MsgId is fraught with peril. Search the forum for many discussions on this and why it will bite you.
Of course, if someone knows how to get MQGet to read by folder....  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Lucky |
Posted: Fri Dec 05, 2008 7:58 pm Post subject: |
|
|
Apprentice
Joined: 06 Feb 2007 Posts: 35
|
I am also exporing how to configure MQGET node to read by usr folder.
Any ideas how we do it? |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Dec 05, 2008 8:44 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Lucky wrote: |
I am also exporing how to configure MQGET node to read by usr folder.
Any ideas how we do it? |
You don't. You rectify the poor/bad design that gets you to look there.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|