|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Getting the message SOURCE and DESTINATION |
« View previous topic :: View next topic » |
Author |
Message
|
mitoiuv |
Posted: Mon Jul 12, 2010 12:16 am Post subject: Getting the message SOURCE and DESTINATION |
|
|
 Novice
Joined: 06 Jul 2010 Posts: 20
|
Hi,
I need to print the source and destination of messages that i'm getting from a queue, how could I do that ? I'm looking at sample code for imqget but haven't figured it out yet.
Thank you |
|
Back to top |
|
 |
Mr Butcher |
Posted: Mon Jul 12, 2010 2:29 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
what do you mean exactly by source and by destination?
if you are able to get a message, you get it from its destination queue (from an application point of view). while a message is on transport by mqseries there may be a transmission header you can look at (if the message is in a xmitq).
in the mqmd header there are some information about the putter of the message, e.g. applicaiton name, put date and time but there is nothing that specifies a "source" (e.g. a source queue)
what are you trying to archieve? _________________ Regards, Butcher |
|
Back to top |
|
 |
mitoiuv |
Posted: Mon Jul 12, 2010 2:34 am Post subject: |
|
|
 Novice
Joined: 06 Jul 2010 Posts: 20
|
Thank you for your reply, I figure out that I was not thinking it right , the information I needed was actually inside the message and I decided to print only the application name that sent the message .
Have a good day. |
|
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
|
|
|
|