ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » Getting the message SOURCE and DESTINATION

Post new topic  Reply to topic
 Getting the message SOURCE and DESTINATION « View previous topic :: View next topic » 
Author Message
mitoiuv
PostPosted: Mon Jul 12, 2010 12:16 am    Post subject: Getting the message SOURCE and DESTINATION Reply with quote

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
View user's profile Send private message
Mr Butcher
PostPosted: Mon Jul 12, 2010 2:29 am    Post subject: Reply with quote

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
View user's profile Send private message
mitoiuv
PostPosted: Mon Jul 12, 2010 2:34 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Getting the message SOURCE and DESTINATION
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.