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 » Question On WMB.

Post new topic  Reply to topic
 Question On WMB. « View previous topic :: View next topic » 
Author Message
ein
PostPosted: Fri Apr 30, 2010 3:29 am    Post subject: Question On WMB. Reply with quote

Centurion

Joined: 14 Mar 2009
Posts: 108

Hi All,

I have Question ON WMB.

I have 3 different Message Sets. I have One Q, where all 3 different partners are sending data to the Q.

So My requirement is , My flow needs to dynamically pick the Message set for each partner.

How can we configure the message sets in MQ input node and how handle this situvation in esql in WMB.
Back to top
View user's profile Send private message
mqmatt
PostPosted: Fri Apr 30, 2010 3:38 am    Post subject: Reply with quote

Grand Master

Joined: 04 Aug 2004
Posts: 1213
Location: Hursley, UK

On the MQInput node, either use a BLOB or generate a generic message set that can understand enough of the message to choose the correct parser. Route the message accordingly and use the ResetContentDescriptor node to select the "real" message set.
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Apr 30, 2010 3:56 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Another possibility is to ask the partners to add an MQRFH2 header to the incoming message. The <mcd> folder can specify the domain, message set, message type and format of the incoming message.

Not possible if the partners are unable/unwilling to add the header, of course.
Back to top
View user's profile Send private message
ein
PostPosted: Fri Apr 30, 2010 4:35 am    Post subject: Reply with quote

Centurion

Joined: 14 Mar 2009
Posts: 108

They are sendign the with MQRFh2 headres,
In the header they are provinding their id, So I can able to identfy the partners.

But how we can dynamically pick the Message set in using mcd folder.
would you please explain?
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Apr 30, 2010 6:06 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

It's not obvious, but the information is here: http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/topic/com.ibm.etools.mft.doc/aq06940_.htm

The key point is that if the incoming message has an MQRFH2 header with an mcd folder, with Msd/Set/Type/Fmt child tags then those settings override the Domain/Set/Type/Format settings on the MQInput node.
Back to top
View user's profile Send private message
Missam
PostPosted: Fri Apr 30, 2010 9:50 am    Post subject: Reply with quote

Chevalier

Joined: 16 Oct 2003
Posts: 424

1)Ask the partner to add the partner unique id either in MQMD.ApplIdentityData or MQRFH2.usr.<UniqueID>.
2) Set your Input node parser to BLOB Domain.
3) Add a compute node and check for Unique ID. based on Unique ID set Label.
4) Use RouteToLabel followed by RCD for particualr partner UniqueID.
Back to top
View user's profile Send private message
vikashsharma85
PostPosted: Sun May 02, 2010 9:34 pm    Post subject: Reply with quote

Novice

Joined: 19 Mar 2010
Posts: 15

Another Possible Solution: Use multiple MQ nodes with different message sets.
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 » Question On WMB.
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.