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 » Read Msgs using MQGet node

Post new topic  Reply to topic
 Read Msgs using MQGet node « View previous topic :: View next topic » 
Author Message
Lucky
PostPosted: Mon Dec 01, 2008 11:40 pm    Post subject: Read Msgs using MQGet node Reply with quote

Apprentice

Joined: 06 Feb 2007
Posts: 35

Hi,
MQGet node provides an option where message can be read from specified queue by matching particular CorrelId or MessageID.

We have a req. where source will not set CorrelID/MessageID with any details but they send <usr> field of RFH2 header.
Now how to use MQGet node to match <usr> value & read that particular message.

Moreover i'm not sure whether MQGET node supports matching RFH2.usr header value & read msg(Similar to CorrelID). If yes and someone has implemented this earlier, please share the details what settings should be done in MQGet node.
Please share the views
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Dec 02, 2008 12:31 am    Post subject: Re: Read Msgs using MQGet node Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Lucky wrote:
Moreover i'm not sure whether MQGET node supports matching RFH2.usr header value & read msg(Similar to CorrelID).


AFAIK the only matching the MQGet node will do is on MsgId or CorrelId. I'd be interested to discover otherwise.

I suspect you'll end up doing a get from this queue, extracting the usr value with a Compute node and then processing it accordinging.

I would strongly urge you not to try and extract the usr value, put it in the CorrelId and then push the message back onto a queue. Setting a CorrelId with anything that wasn't originally a MsgId is fraught with peril. Search the forum for many discussions on this and why it will bite you.

Of course, if someone knows how to get MQGet to read by folder....
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Lucky
PostPosted: Fri Dec 05, 2008 7:58 pm    Post subject: Reply with quote

Apprentice

Joined: 06 Feb 2007
Posts: 35

I am also exporing how to configure MQGET node to read by usr folder.

Any ideas how we do it?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Dec 05, 2008 8:44 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Lucky wrote:
I am also exporing how to configure MQGET node to read by usr folder.

Any ideas how we do it?

You don't. You rectify the poor/bad design that gets you to look there.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Read Msgs using MQGet 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.