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 » Publication's transaction

Post new topic  Reply to topic
 Publication's transaction « View previous topic :: View next topic » 
Author Message
aleksawka.danilov
PostPosted: Mon Jun 30, 2014 7:48 am    Post subject: Publication's transaction Reply with quote

Newbie

Joined: 30 Jun 2014
Posts: 2

Hello.

My main flow invoke subflow, where i use Publication node.
I wrote ESQL code in a compute node, before Publication node:

SET OutputRoot.Properties.Transactional = false;

But where main flow is roll back, then message sended by subscribtion deleted. I use IIB version 9.0.0.0

Any suggestions?
Back to top
View user's profile Send private message
aleksawka.danilov
PostPosted: Tue Jul 01, 2014 12:23 am    Post subject: Reply with quote

Newbie

Joined: 30 Jun 2014
Posts: 2

SET OutputRoot.MQMD.Transactional = false;

and
Back to top
View user's profile Send private message
McueMart
PostPosted: Tue Jul 01, 2014 3:26 am    Post subject: Reply with quote

Chevalier

Joined: 29 Nov 2011
Posts: 490
Location: UK...somewhere

At least in WMB v8, Publication nodes are non-transactional , and cannot be changed from this .Im not sure if this design oversight has been rectified in v9 though...

If not, it's probably time to raise an RFE to request it.

The workaround is to use an MQ Output node (with Transaction Mode set to Yes) instead of the Publication node - and have a separate flow which publishes the message after reading it from a queue.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Tue Jul 01, 2014 9:16 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

McueMart wrote:


The workaround is to use an MQ Output node (with Transaction Mode set to Yes) instead of the Publication node - and have a separate flow which publishes the message after reading it from a queue.


IMHO, the better solution is to write the message with an MQOutput Q to an ALIAS Q that is setup to write to a Topic rather than another Queue. You can control the Transactionality of the message with the line of ESQL already posted.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Jul 01, 2014 9:51 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

That doesn't allow you to publish to a dynamic topic.
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 » Publication's 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.