Posted: Thu Apr 24, 2003 6:53 am Post subject: COM+ & C#
Newbie
Joined: 30 Aug 2002 Posts: 9 Location: Chicago
I'm trying to use a COM+ component as a transaction coordinator for MQ. In order to achieve this I have developed the following classes (in C#) using MQAX lib
[Attribute (Transaction.Required)]
...
session = new MQSessionClass();
qmgr = (MQQueueManager)session.AccessQueueManager(qmgrname);
msg = (MQMessage)session.AccessMessage();
int options = (int)MQ.MQOO_OUTPUT;
the transaction monitor instanciates the COM+ object with within a transaction. However, I still get a 2354 error; according to the doc. this may comes from a DTC timeout. I changed it and set it up to 10s(!) but still get the error
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