|   | 
	 
  
    | 
RSS Feed - WebSphere MQ Support
 | 
RSS Feed - Message Broker Support
 |   
 
  
	     | 
	 | 
   
 
  
	|  Reversal of structure elements | 
	« View previous topic :: View next topic »  | 
   
  
  	
	  
		
		
		  | Author | 
		  Message
		 |  
		
		  | kishankumar.v | 
		  
		    
			  
				 Posted: Wed Dec 19, 2001 5:53 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		   Apprentice
 
 Joined: 26 Nov 2001 Posts: 47
  
  | 
		  
		    
			  
				Hi,
 
   My Aim is .. when in input queue i give 
 
kish8933 the output queue should have 8933kish , for this in a message set i have defined two compound types having same elements each of length 4 in the reversal order. 
 
ENAMENO
 
  NAME STRING LENGTH 4
 
  NO   STRING LENGTH 4
 
ENONAME
 
  NAME STRING LENGTH 4
 
  NO   STRING LENGTH 4
 
 
In the MqInput node I have given message type as ENAMENO .. The question is what should I exactly say in Compute Node to get the reversed structure ENONAME in output.
 
Please help.
 
 
Thanks,
 
Kishan
 
 | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | kishankumar.v | 
		  
		    
			  
				 Posted: Wed Dec 19, 2001 5:56 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		   Apprentice
 
 Joined: 26 Nov 2001 Posts: 47
  
  | 
		  
		    
			  
				Sorry .. a Small correction .. the second structure ENONAME has the elements in 
 
NO STRING LENGTH 4
 
NAME STRING LENGTH 4
 
this order.
 
As of now when I just map ENAMENO to ENONAME in compute node the failure queue is filled up with the input message. 
 
 
Kishan | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | mpuetz | 
		  
		    
			  
				 Posted: Fri Dec 21, 2001 7:47 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		   Centurion
 
 Joined: 05 Jul 2001 Posts: 149 Location: IBM/Central WebSphere Services 
  | 
		  
		    
			  
				Hi,
 
 
try the following,
 
 
SET OutputRoot.MRM.ENONAME = InputBody.ENAMENO;
 
SET OutputRoot.MRM.ENAMENO = InputBody.ENONAME;
 
 
Of course you have to make sure:
 
Your input node must be set to expect
 
the correct message type
 
MRM, right messageset, right message identifier, CWF
 
 
You could do this easily with drag and
 
drop in your compute node by adding
 
your message definition both as input
 
and output format.
 
 
 _________________ Mathias Puetz
 
 
IBM/Central WebSphere Services
 
WebSphere Business Integration Specialist | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | 
		    
		   | 
		 
	   
	 | 
   
 
  
	     | 
	 | 
	Page 1 of 1 | 
   
 
 
 
  
  	
	  
		
		  
 
  | 
		  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
  | 
  		 
	   
	 | 
   
 
  	 | 
	  |