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 » regarding transaction coordination for multiple destination

Post new topic  Reply to topic
 regarding transaction coordination for multiple destination « View previous topic :: View next topic » 
Author Message
hemendra123
PostPosted: Wed Jul 06, 2005 3:03 am    Post subject: regarding transaction coordination for multiple destination Reply with quote

Novice

Joined: 30 May 2005
Posts: 20

Hi,
I am trying to put messages into the queues specified in Destination List. ( say 3 queues ). Suppose one of the queue is put inhibited, the messages are put into the other 2 queues. and the exception list is raised.
a. I would like to know if we can put the messages into all the 3 queues in transaction. So, if there a problem in one, all messages will be rolled back or would be comminted. following is the ESQL code used :
SET OutputLocalEnvironment.Destination.MQ.DestinationData[1].queueManagerName = 'QM1';
SET OutputLocalEnvironment.Destination.MQ.DestinationData[1].queueName = 'OUT1';

SET OutputLocalEnvironment.Destination.MQ.DestinationData[2].queueManagerName = 'QM1';
SET OutputLocalEnvironment.Destination.MQ.DestinationData[2].queueName = 'OUT2';

SET OutputLocalEnvironment.Destination.MQ.DestinationData[3].queueManagerName = 'QM1';
SET OutputLocalEnvironment.Destination.MQ.DestinationData[3].queueName = 'OUT3';


b. If this rqmt is not pssbl thro' Destination List, is there any other alternative to acheive this goal in MB?

Appreciate your valuable suggestions.
Thanks
S Hemendr
Back to top
View user's profile Send private message Send e-mail
EddieA
PostPosted: Wed Jul 06, 2005 7:56 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

You know, the helps that come with the product are pretty good.

I'd start with the Transaction Mode of the Input and Ouptut nodes if I were you.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
hemendra123
PostPosted: Wed Jul 06, 2005 8:05 am    Post subject: Reply with quote

Novice

Joined: 30 May 2005
Posts: 20

Eddie - Thx for the reply. Agreed that help material provides much valuable suggestion. and based on that I have set the transaction mode as YES in both input and output, which means transaction will commit (i.e., message are put in local queues) after the flow is successfully completed. However with regard to destination list this does not seems hold good. As the number of apllication to consume the message are static, we are not considering pub/sub. So, if any of you can share you experience with destination list, it would be a great help for us. looking forward to hear something on this front ...
-Hemendr
_________________
Hemendr
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Wed Jul 06, 2005 8:23 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

If you set the transaction mode of the MQOutput node to Yes, then it will always commit each put.

Also, the MQOutput node does have an output terminal.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
EddieA
PostPosted: Wed Jul 06, 2005 10:06 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

You could also take a look at this if you ever want to change the behaviour of the way transactionality works with Destination Lists.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
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 » regarding transaction coordination for multiple destination
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.