Author |
Message
|
kunal07 |
Posted: Wed Feb 19, 2014 2:28 am Post subject: Message-Id needs to be retain for different flows |
|
|
Acolyte
Joined: 05 Dec 2012 Posts: 72
|
Hi,
i am using 5 flows which will cater the same message. Want to track down the message .
have tried message id but its get changes as soon as message put in the queue of second flow. and due to some reason , i can't use the correlation id.
Is there any other way to track the mesasge id through the 5 differnr flows
thanks |
|
Back to top |
|
 |
Gralgrathor |
Posted: Wed Feb 19, 2014 2:37 am Post subject: |
|
|
Master
Joined: 23 Jul 2009 Posts: 297
|
What have you tried, exactly? And how? |
|
Back to top |
|
 |
kunal07 |
Posted: Wed Feb 19, 2014 3:34 am Post subject: |
|
|
Acolyte
Joined: 05 Dec 2012 Posts: 72
|
i have use the sequence id to environment variables but as we all know environment varibales are not getting passed to other flows.
i have directly map the message id but it get lost |
|
Back to top |
|
 |
Gralgrathor |
Posted: Wed Feb 19, 2014 4:02 am Post subject: |
|
|
Master
Joined: 23 Jul 2009 Posts: 297
|
I'm not sure I understand what you're saying.
Actually, I'm not entirely sure you know what you're doing.
How are you setting the MsgId field in the MQMD header of the outgoing message? Have you used a Trace node prior to your MQOutput node to see if the MQMD.MsgId field is populated? |
|
Back to top |
|
 |
kimbert |
Posted: Wed Feb 19, 2014 4:26 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Quote: |
due to some reason , i can't use the correlation id |
Well, you could always put a correlation id ( i.e. some value that identifies this transaction ) into an MQ header.
In the old days, I would have advised you to add an MQRFH2 header to these messages and put the data into the UserData section. But since WMQ v7 I think it's called 'message properties'. I'm sure mqjeff will put me right on that. _________________ Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Feb 19, 2014 4:36 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
kimbert wrote: |
But since WMQ v7 I think it's called 'message properties'. I'm sure mqjeff will put me right on that. |
It is in fact called Message Properties.
But, alas, in all currently shipping versions of MB/IIB, you can't access them. You have to pretend that they are still RFH2 headers, and leave it up to MQ to sort out the mess.
If only someone had filed an RFE a long time ago, I'm quite positive that this would have been fixed by now. |
|
Back to top |
|
 |
Gralgrathor |
Posted: Wed Feb 19, 2014 4:37 am Post subject: |
|
|
Master
Joined: 23 Jul 2009 Posts: 297
|
What are you trying to do, exactly? |
|
Back to top |
|
 |
|