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 » Output node transaction

Post new topic  Reply to topic
 Output node transaction « View previous topic :: View next topic » 
Author Message
angka
PostPosted: Wed May 16, 2007 7:24 am    Post subject: Output node transaction Reply with quote

Chevalier

Joined: 20 Sep 2005
Posts: 406

Hi all,

I am using Output node with destination list. my destination list consists of 2 remote queues, A and B pointing to transmission queue Ax and Bx. however when one of the transmission queue eg Bx is full, the flow roll back the whole transaction and put to DLQ even when Ax is not full. Is there a way to complete the transaction when putting to Ax and send the message for Bx to the DLQ instead?

by rolling back the whole transaction due to one full transmission queue is undesirable.

Thanks
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed May 16, 2007 8:00 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Change the output syncpoint mode to make the put outside syncpoint.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
jbanoop
PostPosted: Wed May 16, 2007 9:51 am    Post subject: Reply with quote

Chevalier

Joined: 17 Sep 2005
Posts: 401
Location: SC

but then you want it to rollback if both the puts fail ..dont you ...

my opinion is to use a flow order and if the put to the first output Q fails catch and handle it (like setting some variable) using try-catch node and then try to put to the second output Q.
use a try-catch to catch any exception and then check the env to see if the first put failed .. if not complete successfully else throw to rollback the transaction.
Back to top
View user's profile Send private message Yahoo Messenger
Vitor
PostPosted: Wed May 16, 2007 11:40 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

jbanoop wrote:
but then you want it to rollback if both the puts fail ..dont you ...


He said he didn't...

...but I thought it was odd as well.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Thu May 17, 2007 12:03 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi angka,

Vitor's suggestion should be far more simpler....Just set the Transaction mode on the Output node as 'no'...In this way it will put to A and commit...irrespective of what happens to B after that,...

Regards.
Back to top
View user's profile Send private message Send e-mail
angka
PostPosted: Thu May 17, 2007 12:12 am    Post subject: Reply with quote

Chevalier

Joined: 20 Sep 2005
Posts: 406

Hi,

If both the put fail i will send both the messages to the DLQ. I dun need it to roll back.

So I believe this shld be wat I want. Thanks.

Rgds.
Back to top
View user's profile Send private message
angka
PostPosted: Thu May 17, 2007 12:14 am    Post subject: Reply with quote

Chevalier

Joined: 20 Sep 2005
Posts: 406

Hi,

If both the put fail i will send both the messages to the DLQ. I dun need it to roll back.

So I believe this shld be wat I want. Thanks.

Rgds.
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 » Output node transaction
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.