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 » WebSphere Message Broker (ACE) Support » Query On MQInput Node

Post new topic  Reply to topic
 Query On MQInput Node « View previous topic :: View next topic » 
Author Message
karsusi
PostPosted: Mon Jan 04, 2010 5:21 am    Post subject: Query On MQInput Node Reply with quote

Newbie

Joined: 26 Dec 2009
Posts: 7

Hi,
I am reading an input using MQInput node where I want to know the file name of the input message that has been posted on the queue. But I could not find the file name in the message header properties. Could someone help me on this.

Thanks in advance.
Back to top
View user's profile Send private message Send e-mail
WMBDEV1
PostPosted: Mon Jan 04, 2010 5:31 am    Post subject: Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

What file name? Messages on a queue are just that. They are not files and so dont have a corresponding "file name".

If you have a scenario where something upstream takes files and puts them to a queue then this may or may not retain filename information but that depends entirely on your setup.
Back to top
View user's profile Send private message
karsusi
PostPosted: Tue Jan 05, 2010 2:22 am    Post subject: Used MessageId Reply with quote

Newbie

Joined: 26 Dec 2009
Posts: 7

Thanks for the reply shaman.

I need some unique id to find out the message. I have taken messagid as we couldnot able to take filename in the mqinput node as you said.
Back to top
View user's profile Send private message Send e-mail
smdavies99
PostPosted: Tue Jan 05, 2010 4:38 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Beware, the MQMD.MsgId may not be unique.
You can program WMQ to send a message with your own MsgId rather than letting WMQ generate one for you.

It might be true that in your system it is unique but you should always ask the question!
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
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 » WebSphere Message Broker (ACE) Support » Query On MQInput Node
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.