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 » Unit of work of WMB FowOrder node?

Post new topic  Reply to topic
 Unit of work of WMB FowOrder node? « View previous topic :: View next topic » 
Author Message
JYama
PostPosted: Fri Mar 14, 2008 12:10 am    Post subject: Unit of work of WMB FowOrder node? Reply with quote

Master

Joined: 27 Mar 2002
Posts: 281

Hello, experts,

I'd like to just check on the spec of WMB FlowOrder node.

I know this node has two terminals, 1st and 2nd.
What happens if an error occures in a message flow wired 2nd terminal?
Is this correct that both flows wired 1st and 2nd will be rollbacked at the same time?
In other words, the flow wired '1st teminal' will fail even if it succeeded, for example, MQOutput?

Regards,

Back to top
View user's profile Send private message
Gaya3
PostPosted: Fri Mar 14, 2008 12:53 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

What i experienced
Flow Order Node
It goes to the First terminal and then to Second terminal,
If the first is success then only it goes to Second terminal

If First is successfull and Second is failed , it wont roll back the first trancation happened.


Regards
Gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
AkankshA
PostPosted: Fri Mar 14, 2008 1:05 am    Post subject: Re: Unit of work of WMB FowOrder node? Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

JYama wrote:
Hello, experts,

I'd like to just check on the spec of WMB FlowOrder node.

I know this node has two terminals, 1st and 2nd.
What happens if an error occures in a message flow wired 2nd terminal?
Is this correct that both flows wired 1st and 2nd will be rollbacked at the same time?
In other words, the flow wired '1st teminal' will fail even if it succeeded, for example, MQOutput?

Regards,



not sure of what happens actually...

if u want a complete rollback even if an error occures in a message flow wired 2nd terminal.. how about using different terminals of compute node(in V6 only)
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
JYama
PostPosted: Fri Mar 14, 2008 1:12 am    Post subject: Reply with quote

Master

Joined: 27 Mar 2002
Posts: 281

Thank you for your comment, Gaya3.

Which version of WMB did you use?

Actually, one of my colleagues tried a simulation like this;
MQOutput1 wired 1st terminal with correct queue name ,
MQOutput2 wired 2nd terminal with incorrect queue name .

As a result, there were no messages on both queues indicated by the MQOutput nodes.
Therefore, it seemed that the message flow worked as a ONE transaction...


Last edited by JYama on Sun Mar 16, 2008 4:08 pm; edited 1 time in total
Back to top
View user's profile Send private message
fschofer
PostPosted: Fri Mar 14, 2008 1:28 am    Post subject: Reply with quote

Knight

Joined: 02 Jul 2001
Posts: 524
Location: Mainz, Germany

Hi,

the behaviour of the MQOutput Node behind 1st terminal depends on the transaction setting of the node and the message flow.

If for example the transaction mode of the MQOutput Node is set to 'No'
then the message written by this node will remain even if a exception occurs behind 2nd terminal.

Greetings
Frank
Back to top
View user's profile Send private message Send e-mail
JYama
PostPosted: Fri Mar 14, 2008 1:41 am    Post subject: Reply with quote

Master

Joined: 27 Mar 2002
Posts: 281

Thank you very much for prompt responses, all!

Last edited by JYama on Sun Mar 16, 2008 4:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
sunny_30
PostPosted: Fri Mar 14, 2008 7:07 am    Post subject: Reply with quote

Master

Joined: 03 Oct 2005
Posts: 258

Hi All,

A question on the same topic.
What happens if I propagate multiple output messages out of the 1st-terminal connected to the Flow-order. Note that I set the MQoutput node Transaction to 'yes'.

If an error happens in the 2nd-terminal, will all the 'propagated' messages from the 1st-terminal of the FlowOrder roll back?

Thanks,
Sunny.
Back to top
View user's profile Send private message
JYama
PostPosted: Sun Mar 16, 2008 4:24 pm    Post subject: Reply with quote

Master

Joined: 27 Mar 2002
Posts: 281

sunny_30 wrote:
If an error happens in the 2nd-terminal, will all the 'propagated' messages from the 1st-terminal of the FlowOrder roll back?

According to the discussion so far, I believe all of the mesages will be rollbacked.
As fschofer said, it depends on the transaction mode of the MQOutput Node, so if you set this property 'Yes', the message flow works as ONE transaction.
I guess, if you want to handle your messages in different UOW scope, you may need to consider independent message flows.

Regards,
Back to top
View user's profile Send private message
svu
PostPosted: Thu Aug 26, 2010 1:03 am    Post subject: Reply with quote

Voyager

Joined: 30 Jan 2006
Posts: 99

JYama wrote:
As a result, there were no messages on both queues indicated by the MQOutput nodes.
Therefore, it seemed that the message flow worked as a ONE transaction...

I see opposite behavior. 1st output of FlowOrder connected to transactional MQOutput, 2nd output connected to another MQOutput, transactional as well. If 2nd output fails because of the invalid message (parsing error), I am still getting the message on the first queue. Irritating. Perhaps I have to fallback to Compute-based workaround (using out and out1)
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 » Unit of work of WMB FowOrder 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.