Author |
Message
|
jdevassy |
Posted: Wed May 14, 2008 4:48 pm Post subject: MsgId and CorrelId reset in the publication node |
|
|
Apprentice
Joined: 16 Oct 2005 Posts: 37 Location: Melbourne, Australia
|
Hi,
I am using Broker publication node to do pub sub and the publication node resets the original MsgId and CorrelId by default. This makes the message un trackable in the event of an exception in the subscriber flows.
There is no node property which I can configure to stop this happening.
Is there a way to stop the resetting of the MsgId and CorrelId in the publication node.
Thanks in advance.
Joe |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed May 14, 2008 8:01 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Joe,
The whole purpose of pub/sub is to decouple publisher and subscriber.
If you need a way to separate subscribers I would suggest that they each provide their own subscription queue...
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
jdevassy |
Posted: Thu May 15, 2008 12:41 am Post subject: |
|
|
Apprentice
Joined: 16 Oct 2005 Posts: 37 Location: Melbourne, Australia
|
Thanks for the reply...
Each subscriber (a message flow which converts the published message into subscriber format)subscribes on individual queues.
The issue is when the exception happens either in the publication or in subscriber flows. So if either the original MsgId/CorrelId is preserved during publication it will be easy to track.
Is there a setting to do it?
Cheers  |
|
Back to top |
|
 |
AkankshA |
Posted: Thu May 15, 2008 1:01 am Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
i dint understand your requirement completely though.....
but if u want to preserve msg Id or correlId across the flows... have a look at usr folder of MQRHF2.. u can store the data u want to pass across in that.....
However it is sheer customization  _________________ Cheers |
|
Back to top |
|
 |
jdevassy |
Posted: Thu May 15, 2008 1:33 am Post subject: |
|
|
Apprentice
Joined: 16 Oct 2005 Posts: 37 Location: Melbourne, Australia
|
Hi Akanksha,
thats exactly what I have done now, copied Id's to MQRHF2.usr.
I am thinking is there a way i can stop the publication node resetting the Id's.
Joe |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu May 15, 2008 1:48 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
As I mentioned before... this is not in the design. The correl id in pub/sub is often used to identify a subscriber....
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|