|  | 
 
  
    | RSS Feed - WebSphere MQ Support | RSS Feed - Message Broker Support |  
 
  
	|    |  |  
  
	| Java plugin invokation error | « View previous topic :: View next topic » |  
  	| 
		
		
		  | Author | Message |  
		  | rkulkarni | 
			  
				|  Posted: Wed Sep 21, 2005 2:57 am    Post subject: Java plugin invokation error |   |  |  
		  | Newbie
 
 
 Joined: 26 Apr 2005Posts: 3
 
 
 | 
			  
				| I am having a problem with my Java plugin node (WBIMB v5 FixPac 5 on Solaris) when using it in a message flow. 
 The Java plugin node has 1 input terminal, 2 output terminals and 2 configurable properties.
 
 The message flow design is as follows -
 
 MQInput -> Java Plugin -> Compute -> MQOutput
 
 At runtime, a test message on the input queue for MQInput triggers the flow. The Java plugin is invoked successfully and does its job ok. However if there is an exception in the Compute node, it is not thrown back to the catch terminal of the MQInput node. It instead invokes the Java plugin node again, causing unexpected results.
 
 Is there any reason why a plugin node gets invoked again when an error occurs downstream?
 
 Any help is much appreciated.
 
 -Ragh
 |  |  
		  | Back to top |  |  
		  |  |  
		  | javaforvivek | 
			  
				|  Posted: Wed Sep 21, 2005 4:26 am    Post subject: |   |  |  
		  |  Master
 
 
 Joined: 14 Jun 2002Posts: 282
 Location: Pune,India
 
 | 
			  
				| May be u can try something like this: MQInput -> Java Plugin -> TryCatch -> Compute -> MQOutput
 
 Connect your catch terminal of TryCatch Node to error handling mechanism.
 
 What dose ur plugin node do?
 _________________
 Vivek
 ------------------------------------------------------
 ...when you have eliminated the impossible, whatever remains, however improbable, must be the truth.
 |  |  
		  | Back to top |  |  
		  |  |  
		  | rkulkarni | 
			  
				|  Posted: Fri Sep 23, 2005 3:09 am    Post subject: |   |  |  
		  | Newbie
 
 
 Joined: 26 Apr 2005Posts: 3
 
 
 | 
			  
				| Well, I don't want to do that as the error handling needs to happen at the MQInput catch terminal. We want to use the transaction rollback option by logging the correct error. |  |  
		  | 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
 
 |  |  |  |