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 node

Post new topic  Reply to topic
 Transaction mode in MQInput node « View previous topic :: View next topic » 
Author Message
saturn_cemk
PostPosted: Tue Nov 07, 2006 7:21 am    Post subject: Transaction mode in MQInput node Reply with quote

Novice

Joined: 10 Jul 2006
Posts: 16

Hi,

Environment: Windows XP SP2, WBIMB 6.0 and MQSeries 6.0
I have a message flow which looks like following:

MQInput ---> Compute ---> MQOutput

The queue used by the MQInput node has the Persistence property set to 'Persistent'.
The Transaction mode property in the MQInput node is set to 'Automatic'.
The Transaction mode and the Persistence mode properties in the MQOutput node are set to 'Automatic'.

The compute creates 3 messages from the input message and PROPAGATEs them to the output. But while creating the 3rd message an exception is thrown.

What should I get in the output in this condition ?

A. No messages
B. Two messages

I am getiing B as my output which I think is not correct. Can someone please suggest.
Back to top
View user's profile Send private message
madi
PostPosted: Tue Nov 07, 2006 8:04 am    Post subject: Reply with quote

Chevalier

Joined: 17 Jan 2006
Posts: 475

set the transaction mode to yes on the MQOutput node if you want A(no messages)

--madi
Back to top
View user's profile Send private message
JosephGramig
PostPosted: Tue Nov 07, 2006 12:27 pm    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1244
Location: Gold Coast of Florida, USA

Also, the Persistence property on the queue is just the default. Nonpersistent messages can still be put on the queue.

The automatic on the Input node makes the behaviour different for persistent and nonpersistent messages.
_________________
Joseph
Administrator - IBM WebSphere MQ (WMQ) V6.0, IBM WebSphere Message Broker (WMB) V6.1 & V6.0
Solution Designer - WMQ V6.0
Solution Developer - WMB V6.1 & V6.0, WMQ V5.3
Back to top
View user's profile Send private message AIM Address
novice
PostPosted: Sat Nov 11, 2006 7:23 am    Post subject: Reply with quote

Apprentice

Joined: 20 Jun 2005
Posts: 37

I'm not certain about, but if you catch the exception, the first two messages are committed, since catching the exception means completing the transaction successfully. If you don't catch the exception or you throw another exception in the catch path none of the messages should be in the output queue.
Back to top
View user's profile Send private message
madi
PostPosted: Mon Nov 13, 2006 7:56 am    Post subject: Reply with quote

Chevalier

Joined: 17 Jan 2006
Posts: 475

who said anything about catching the exception??

--madi
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 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.