Posted: Mon Aug 09, 2004 8:40 am Post subject: Connecting to a queue manager through MTS
Apprentice
Joined: 23 Jun 2004 Posts: 29
Hello,
Our client is receiving an exception when they try to perform an MQQueueManager.Commit or MQQueueManager.Backout. I'm sure the cause of this problem is that the client is executing within a COM+ Context when they connect to the queue manager.
Is there any way of not including the MQQueueManager within the client's COM+ Context? We don't want to include the MQQueueManager within the client's COM+ transaction because our MQ Server and MQ Client exist on different machines.
There is an environment variable, TMQ_DEFAULT_MODEL which can be used to set the threading model explicitly, this can be set to the string 'FIXED' to achieve the same thing. You can set this before launching the application. There is also a registry key which will stop ALL applications using COM+/MTS, but thats a bit overkill for this problem
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