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 » Transaction mode in MQInput

Post new topic  Reply to topic
 Transaction mode in MQInput « View previous topic :: View next topic » 
Author Message
pvemuri
PostPosted: Wed Jan 05, 2005 2:07 pm    Post subject: Transaction mode in MQInput Reply with quote

Voyager

Joined: 05 Jan 2004
Posts: 83
Location: CA, USA

Hello All,
I will explain my flow :

Input Q -> ComputeNode -> OutputQ1 -> CustomNode->OutputQ2

1. Compute Node adds MQMD details. (reply to Q etc)

2. OutputQ 1 is the request queue for a JTEXT adapter

3. CustomNode waits for a specified amount of time (can be set in properties) for the adapter to give the response back to its response queue. if it does not respond back in ## seconds then it will throw an exception. else the CustomNode picks it from the response queue and sends it to outputQ2

The reason behind implementing the CustomNode is due to some business requirement.

The issue here is :

1. If the Transaction mode property in MQInput node is "YES" then, the flow does not work. Probably because the message is in the request queue but is not available for JTEXT to process.

2. If the Transaction mode property in MQInput node is "Aoutomatic" then it works pretty fine.

I think if the Transaction mode is "YES" then due to the waiting / holding of the processing in CustomNode is not allowing the Message to be readable to JTEXT adapter.

Whats the difference between the modes Yes and commit.
Back to top
View user's profile Send private message Send e-mail
javaforvivek
PostPosted: Thu Jan 06, 2005 4:32 am    Post subject: Reply with quote

Master

Joined: 14 Jun 2002
Posts: 282
Location: Pune,India

The WBIMB Help gave me this:
Quote:

Configuring for coordinated transactions
When you include an MQInput node in a message flow, the value that you set for Transaction Mode defines whether messages are received under syncpoint:

If you set it to Yes (the default), the message is received under syncpoint (that is, within a WebSphere MQ unit of work). Any messages subsequently sent by an output node in the same instance of the message flow are put under syncpoint, unless the output node has explicitly overridden this.
If you set it to Automatic, the message is received under syncpoint if the incoming message is marked persistent. Otherwise, it is not. Any message subsequently sent by an output node is put under syncpoint, as determined by the incoming persistence property, unless the output node has explicitly overridden this.
If you set it to No, the message is not received under syncpoint. Any messages subsequently sent by an output node in the flow are not put under syncpoint, unless an individual output node has specified that the message must be put under syncpoint.
(The MQOutput node is the only output node that you can configure to override this option.)

_________________
Vivek
------------------------------------------------------
...when you have eliminated the impossible, whatever remains, however improbable, must be the truth.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
jefflowrey
PostPosted: Thu Jan 06, 2005 5:31 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

So, to clarify a little more what's happening with your flow...

If you set the transaction mode to YES, or to Automatic and your message is persistant, then the first Output node will not commit the putuntil the entire message flow has completed.

UNLESS you instruct the output node to change IT'S TransactionMode, to "No".
_________________
I am *not* the model of the modern major general.
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 » Transaction mode in MQInput
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.