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 » Rollback to Input Queue from SAPRequest Node

Post new topic  Reply to topic
 Rollback to Input Queue from SAPRequest Node « View previous topic :: View next topic » 
Author Message
tatyeong
PostPosted: Thu Mar 03, 2011 6:48 am    Post subject: Rollback to Input Queue from SAPRequest Node Reply with quote

Acolyte

Joined: 16 Apr 2010
Posts: 52

Hi,

I have message a flow that looks like this


MQInput --> Compute --> SAPRequest
|
V
Catch flow

My catch flow handles all the exceptions that are generated beyond it.

I want to handle internal error that occurs in the SAPRequest node (e.g. unable to reach SAP system) by rolling back the message to the input queue.

I supposed the right way to do this is to connect the failure terminal on the SAPRequest node with a Throw node? Will this message then be captured by the catch flow? Does it mean I also have to include a Throw node within the catch flow in order for the message to be rollback to the input node?

Appreciate any advice on this.
Back to top
View user's profile Send private message
MrSmith
PostPosted: Thu Mar 03, 2011 8:37 am    Post subject: Reply with quote

Master

Joined: 20 Mar 2008
Posts: 215

connecting the failure terminal to a throw node the best way for it to return back to the input node where if your catch node is connected it will proceed to conclusion down this route providing no other failures happen, this should be the end of the transaction for that message.
If the catch terminal is not wired it will go back on to the input queue and check if the backout threshhold is exceeded, if execeeded the fail path of the input node, if not exceeded the backout queue obviously, if no fail path and no backout queue the dead letter queue of the QM.

do not see why you would want to deliberatley throw in the catch path tbh for it to then go up the failure path, choose where you want to capture your exceptions and then do it there, the fail path should be wired only because the catch path has genuinely failed not becvause you forced it.
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 » Rollback to Input Queue from SAPRequest Node
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.