|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ Client vs server |
« View previous topic :: View next topic » |
Author |
Message
|
steveatfki |
Posted: Mon Jan 31, 2005 4:21 am Post subject: MQ Client vs server |
|
|
Newbie
Joined: 31 Jan 2005 Posts: 2 Location: Cranfield, UK
|
We were expecting to use MQ client to allow us to set up a data connection to another machine which will run the MQ server and manage the queues. The other party has said that they want us to use "full MQ" not just the client because "the ACID properties of the transaction cannot be guaranteed as MQ client only supports single phase commit and cannot participate in a two-phase commit. When there is more than one resource in a transaction (say MQ and a database etc), a window exists within the transaction for data to be lost depending on the point in time that a failure occurs. The two phase commit model gets round this problem".
Can anyone clarify why MQ client is not sufficient?
Thanks |
|
Back to top |
|
 |
zpat |
Posted: Mon Jan 31, 2005 4:41 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Basically correct, unless using the newer MQ Transactional client.
However it is possible to design a single phase commit so that should the transaction fail, the worst case would be data duplication (not loss).
However if you are just sending messages to a queue using the client then this problem is not an issue.
It sounds like the program reading the queue and updating the database would be running on the queue manager (and therefore could use 2-phase).
The important point is "where does the program that updates the database run?", it is not running on the MQ client platform - this question does not arise. |
|
Back to top |
|
 |
steveatfki |
Posted: Mon Jan 31, 2005 4:48 am Post subject: |
|
|
Newbie
Joined: 31 Jan 2005 Posts: 2 Location: Cranfield, UK
|
OK think I understand, thanks |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|