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 » Configuring coordinated message flows

Post new topic  Reply to topic
 Configuring coordinated message flows « View previous topic :: View next topic » 
Author Message
Ching
PostPosted: Fri Apr 01, 2005 11:17 am    Post subject: Configuring coordinated message flows Reply with quote

Apprentice

Joined: 08 Nov 2004
Posts: 25
Location: Portland, OR

Hi everyone,

I have a message flow that writes to 2 different database tables, and
if either are unsuccessful, I want both to roll back.

What is the best way for doing this?

Right now I'm doing a check if the SQL return code is NOT 0, then I'm manually deleting the rows that were just written. This works, but seems like a hokie way of doing this 'coordinated transaction'.

In the WBI Message Broker: Message Flows PDF on pg 51 it lists 3 different configurations that are required for coordinating transactions.

1. Message flow nodes need to be configured
2. Databases need to be configured (editing mq.ini file with XAResource manager)
3. MQ and RRS.

On pg 61, it says you might need to configure RRS. When would you need to configure this?

I'm a little unclear what needs to be added to the mq.ini file also.

If any of you have any advice I would appreciate it.
Also, in a different posting(http://www.mqseries.net/phpBB2/viewtopic.php?t=15405&highlight=xaresourcemanager), Timna suggested a 30% CPU hit when using XAResourceManager.

Is this even worth doing?

Thanks for your input!

Ching








Back to top
View user's profile Send private message Send e-mail
EddieA
PostPosted: Fri Apr 01, 2005 11:53 am    Post subject: Reply with quote

Jedi

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

Quote:
On pg 61, it says you might need to configure RRS. When would you need to configure this?

RRS is only for z/OS. Are you running on z/OS. I guess not, because of:
Quote:
I'm a little unclear what needs to be added to the mq.ini file also.

Look up XA support in the manuals.

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
Ching
PostPosted: Mon Apr 04, 2005 8:37 am    Post subject: Reply with quote

Apprentice

Joined: 08 Nov 2004
Posts: 25
Location: Portland, OR

Message broker is running on AIX, and the DB2 tables are on Z/OS.

So I will need to configure the flow, the bar file, and
the qm.ini file with XAResource Manager only.

Nothing needs to be configured with RRS?

Is this correct?

Thanks for helping me get started.

Ching
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 » Configuring coordinated message flows
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.