| Author | 
		  Message
		 | 
		
		  | ein | 
		  
		    
			  
				 Posted: Fri Apr 30, 2010 3:29 am    Post subject: Question On WMB. | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mqmatt | 
		  
		    
			  
				 Posted: Fri Apr 30, 2010 3:38 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | kimbert | 
		  
		    
			  
				 Posted: Fri Apr 30, 2010 3:56 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Council
 
 Joined: 29 Jul 2003 Posts: 5543 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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | ein | 
		  
		    
			  
				 Posted: Fri Apr 30, 2010 4:35 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | kimbert | 
		  
		    
			  
				 Posted: Fri Apr 30, 2010 6:06 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Council
 
 Joined: 29 Jul 2003 Posts: 5543 Location: Southampton 
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Missam | 
		  
		    
			  
				 Posted: Fri Apr 30, 2010 9:50 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | vikashsharma85 | 
		  
		    
			  
				 Posted: Sun May 02, 2010 9:34 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Novice
 
 Joined: 19 Mar 2010 Posts: 15
  
  | 
		  
		    
			  
				Another Possible Solution: Use multiple MQ nodes with different message sets.    | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |