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 » General Discussion » Atomic Transaction failing

Post new topic  Reply to topic
 Atomic Transaction failing « View previous topic :: View next topic » 
Author Message
bare
PostPosted: Tue Jun 24, 2014 9:35 pm    Post subject: Atomic Transaction failing Reply with quote

Newbie

Joined: 23 Apr 2014
Posts: 6

Hi,

I'm attempting to setup an Atomic transaction and getting an error MQRC_UOW_ENLISTMENT_ERROR with a reason of 2354. Any ideas what i'm doing wrong? I get the feeling it's something to do with configuration, specifically around MSTSC. I'm using version 6 of websphere with a version 7.5 of the client. The client code looks like this:

using (CommittableTransaction trans = new CommittableTransaction())
{
CommittableTransaction.Current = trans;
try
{
MQEnvironment.Hostname = host;
MQEnvironment.Channel = channel;
MQEnvironment.Port = ****;
MQEnvironment.properties.Remove(MQC.TRANSPORT_PROPERTY);
MQEnvironment.properties.Add(MQC.TRANSPORT_PROPERTY, MQC.TRANSPORT_MQSERIES_MANAGED);

mqQueueManager = new MQQueueManager(queueManagerName, channel, host);
mqGetQueue = mqQueueManager.AccessQueue(queue, MQC.MQOO_INPUT_SHARED + MQC.MQOO_INQUIRE + MQC.MQOO_FAIL_IF_QUIESCING);
MQMessage message = new MQMessage();

MQGetMessageOptions getMessageOptions = new MQGetMessageOptions();
getMessageOptions.Options += MQC.MQGMO_WAIT + MQC.MQGMO_SYNCPOINT;

mqGetQueue.Get(message, getMessageOptions);

trans.RollBack();
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 » General Discussion » Atomic Transaction failing
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.