Posted: Tue Jun 24, 2014 9:35 pm Post subject: Atomic Transaction failing
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;
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