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 » Roll Back

Post new topic  Reply to topic
 Roll Back « View previous topic :: View next topic » 
Author Message
yadav.neeraj01
PostPosted: Mon Feb 17, 2014 8:50 am    Post subject: Roll Back Reply with quote

Apprentice

Joined: 23 Feb 2011
Posts: 49

Hi
May be my doubt is stupid or easy...please bear with me.... i did R&D but couldn't figured it out....
My question is can we make a transformed message to be rolled back instead of original message in a flow...
Back to top
View user's profile Send private message Send e-mail
Gralgrathor
PostPosted: Mon Feb 17, 2014 8:55 am    Post subject: Reply with quote

Master

Joined: 23 Jul 2009
Posts: 297

Yeah. Make a copy of the original message.
Back to top
View user's profile Send private message Send e-mail
yadav.neeraj01
PostPosted: Mon Feb 17, 2014 9:00 am    Post subject: Reply with quote

Apprentice

Joined: 23 Feb 2011
Posts: 49

let me explain this with example........if we have let say 3 nodes...MQINPUT, COMPUTE and MQOUTPUT Nodes...and some transformation is happening in Compute node.....if some error occurs after compute node in message flow then i guess original message will be rolled back towards MQInput node....Now my question is...Can we set any property of node by which we can have transformed message rolled back instead of original message??
Back to top
View user's profile Send private message Send e-mail
Gralgrathor
PostPosted: Mon Feb 17, 2014 9:05 am    Post subject: Reply with quote

Master

Joined: 23 Jul 2009
Posts: 297

Read up on your fail and catch terminals.

O, and your exit handlers. You'll need to write your compute module in such a way that the result until the exception is kept.


Last edited by Gralgrathor on Mon Feb 17, 2014 9:11 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
yadav.neeraj01
PostPosted: Mon Feb 17, 2014 9:09 am    Post subject: Reply with quote

Apprentice

Joined: 23 Feb 2011
Posts: 49

Thanks for your reply...........Let me put in this way......will there be only original message rollback in case of any failure in message flow?
Back to top
View user's profile Send private message Send e-mail
Gralgrathor
PostPosted: Mon Feb 17, 2014 9:13 am    Post subject: Reply with quote

Master

Joined: 23 Jul 2009
Posts: 297

If you define a continue handler for each atomic translation in your compute module you might be able to keep the transformed result and a list of exceptions.
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Mon Feb 17, 2014 9:39 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Let me put this in somewhat different terms for you?
What is the purpose of this? You don't have an input node to reprocess the changed message at whatever state it is!
If all you care about is the last operation / state before failure (or coverage/audit trail), you can capture that in the environment and reuse it in your catch / failed branch.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
yadav.neeraj01
PostPosted: Mon Feb 17, 2014 10:05 am    Post subject: Reply with quote

Apprentice

Joined: 23 Feb 2011
Posts: 49



Thanks.....
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Roll Back
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.