|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
Difference between client mode and binding mode |
« View previous topic :: View next topic » |
Author |
Message
|
Bill.Matthews |
Posted: Mon Aug 07, 2006 11:36 am Post subject: |
|
|
 Master
Joined: 23 Sep 2003 Posts: 232 Location: IBM (Retired)
|
Jeff.
I did not see where Alexander asked about com+/dtc coordination - but he did mention XA coordination a couple of times. _________________ Bill Matthews |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Aug 07, 2006 11:46 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Bill.Matthews wrote: |
Jeff.
I did not see where Alexander asked about com+/dtc coordination - but he did mention XA coordination a couple of times. |
anowak wrote: |
So if I understand correctly when my app connects to a Qmgr in "server-mode" (NMQ_MQ_LIB : mqm.dll) . This program can issue a get/put (with synpoint options) AND a SQLServer database insert in Unit Of Work (ie distr. trans.)
Unfortunatly I don't seem to get my example up and running. I keep getting the error: MQRC_UOW_ENLISTMENT_ERROR 2354 .
I verified my registry : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC\XADLL amqmtsxatm.dll = C:\Program Files\IBM\MQSeries\bin\amqmtsxatm.dll
|
anowak wrote: |
The transactional part of the test app is enclosed in transactional facilities available in the .NET namespace System.EnterpriseServices. |
_________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
anowak |
Posted: Tue Aug 08, 2006 10:16 pm Post subject: external syncpoint coordinator (MSDTC) |
|
|
Newbie
Joined: 14 Jul 2006 Posts: 8
|
Hey,
Any idea where I can find MQ Extended Transactional Client.
I think I need this software (among others) to use Microsoft Distributed Transaction Coordinator (MSDTC) as the external syncpoint coordinator.
I found this blog http://blogs.msdn.com/dotnetinterop/archive/2005/07/06/436065.aspx
Unfortunately I only have the WMQ V6 trail version to work with. I used all the defaults to install it. (Is the WMQ client also present ?)
The test I would like to perform is to test out dist. trans capbilities between WMQ and a RDBMS (oracle or SQLServer or DB2).
1) write something to a queue and then to a Database.
2) read something from a queue , the use data to write that in DB
With .NET 1.1 I would like to use a feature from System.EnterpriseServices to make dist. trans. possible (ServiceDomain). In .Net 2.0 I would like to use System.transaction features to do this.
Under the hood both these feauters use MSDTC as the coordinator.
Has anyone been able to do something like this?
Until now I have been using server bindings to connect my app to the Qmgr because I read somewhere XA is possible. But I gues this is probably the case when you use WMQ as the syncpoint coordinator.
My test program (with server bindings) actually "works" in .NET with system.transaction. That is to say I see an an entry in the MSDTC log (Component Services MMC) . And I see a message in a Queue. But the dist. . featues do not work . For example in the message disappears when read even in case of database insert failure. I expected that the message will stay in the queue.
Best regards,
Alexander |
|
Back to top |
|
 |
mvic |
Posted: Wed Aug 09, 2006 2:48 am Post subject: Re: external syncpoint coordinator (MSDTC) |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
anowak wrote: |
Any idea where I can find MQ Extended Transactional Client. |
I highly recommend you have a long conversation with your IBM account team, sales reps etc.
The ETC is required for XA transactions with MQ if your app environment is remote from your MQ server. In your case, it sounds like the server is local. Therefore no need for the ETC.
If you want to use MQ with .NET 2.0 then possibly nothing will work for you today, because this is an environment MQ has not been tested in. |
|
Back to top |
|
 |
|
|
|
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
|
|
|
|