|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Howto find out the origin of a message |
« View previous topic :: View next topic » |
Author |
Message
|
jaros |
Posted: Thu Oct 28, 2004 2:14 am Post subject: Howto find out the origin of a message |
|
|
Newbie
Joined: 21 Aug 2003 Posts: 1
|
Hi,
is there any possibility to find out the original queue manager and queue a message
was put in?
I have one local queue which is connected to 15 remote queues (15 different queue manager)
on the sender side. I need now consider the origin of the message.
The sending application sets no information related to the origin in the message descriptor.
It is not possible to change it.
Is there some information which is always set by default?
We consider also to write a channel exit which would extend the message descriptor
of incoming messages. Would it work? Would it work on a NSK machine?
I really don't like to hack the messageId which should contain the queue manager coded somewhere
in the beginning.
Have you another idea?
Thanks for any suggestion.
Greeting
Jaro |
|
Back to top |
|
 |
KeeferG |
Posted: Thu Oct 28, 2004 2:29 am Post subject: |
|
|
 Master
Joined: 15 Oct 2004 Posts: 215 Location: Basingstoke, UK
|
Have tried using the reply to queue and reply to queue manager fields. Thats usually how you specify the return destinations. _________________ Keith Guttridge
-----------------
Using MQ since 1995 |
|
Back to top |
|
 |
PeterPotkay |
Posted: Thu Oct 28, 2004 11:52 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
The Reply To QM field in the MQMD *usually* has the sending QM name in it. If the putting app leaves it blank on the MQPUT, then the sending QM fills in its name.
But the app on QM1 can specify QMX for the Reply2QM anytime it wants, so this is not a foolproof way.
Even the MessageID is not fool proof, as the app can set that as well.
In other words, there is no definitive way to prove where a message came from. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
kirani |
Posted: Thu Oct 28, 2004 2:00 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
It's worth changing sending app to populate some kind of identifier in one of the MQMD field, For Example, MQMD.ApplIdentityData _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
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
|
|
|
|