|   | 
	 
  
    | 
RSS Feed - WebSphere MQ Support
 | 
RSS Feed - Message Broker Support
 |   
 
  
	     | 
	 | 
   
 
  
	|  JavaNode - how do I change message | 
	« View previous topic :: View next topic »  | 
   
  
  	
	  
		
		
		  | Author | 
		  Message
		 |  
		
		  | MaryDegallo | 
		  
		    
			  
				 Posted: Wed Apr 10, 2002 5:04 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		   Newbie
 
 Joined: 07 Apr 2002 Posts: 6 Location: EastCoast, USA 
  | 
		  
		    
			  
				Hi there!
 
 
 
   MQSI 2.0.2 
 
   Java  1.3.1
 
   Java plugin node.   ia76
 
 
   I have installed Java node.
 
   Using IBM provided Samples,    I extended SampleCustomizer class, 
 
    and  could write my own Code and got it compiled. 
 
 
   In a message flow    InputQueue -->> JavaNode -->> OutputQueue, 
 
    I configured the Javanode to call my Class instead. 
 
      (Java Node Terminal XXX terminal connected to OutputQueue.XXX  where 
 
       XXX is one of  failure, false, true, out)
 
 
 
 
   Got the flow deployed  and my class got called when I put a message 
 
   in Input Queue. 
 
   How do I know? The message ended up in the OutputQueues,
 
    desired  and programmed. So it is working.
 
 
   I could do java.io  operations from within my code. 
 
   I can access the data in the message and the data in the header. 
 
   I can propagate the message to any terminal I want. 
 
   I can also verify whether the TERMINAL has been wired or not. 
 
   I can create a NEW message  and propagate it to any terminal.
 
 
 
  The ISSUE:
 
   How do I  modify and transform the message I just received and 
 
   send it further. 
 
   And is there any good documentation on how to write this Java code, 
 
   a better  explanation of various class files and how they work 
 
   with each other.
 
 
   I will appreciate anyhelp, mentioned in this direction. 
 
 
tia, 
 
Mary 
 
 
 _________________ -----------------------------------------
 
Can you suggest. A line for my sig-nature? | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | dnaren | 
		  
		    
			  
				 Posted: Wed Apr 10, 2002 7:45 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		    Apprentice
 
 Joined: 10 Aug 2001 Posts: 45 Location: Charlotte, NC 
  | 
		  
		    
			  
				| I am using MQSI 2.1 (WMQI 2.1) and it comes with JAVA API for custom plugin node development. It has the classes for extracting and modifying the messages in side your custom node. | 
			   
			 
		   | 
		 
		
		  | 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
  | 
  		 
	   
	 | 
   
 
  	 | 
	  |