Posted: Wed Jun 13, 2007 6:56 am Post subject: XA showcase
Yatiri
Joined: 07 Jun 2004 Posts: 620 Location: Germany
Hi all,
I have setup a message flow in MB V6 that does a DB2 (Ressource Manager) insert and some MQ (Transaction Manager) stuff within a global transaction.
Now the setup is all done and I am perfectly convinced that it does what it is supposed to do. My customer however, is asking to see a showcase that proves, that XA transactions are safer than Broker coordinated ones.
IMHO to really show where XA jumps in and where a Broker coordinated transaction would have failed, I would have to kind of destroy the whole transaction between the database and the mq commits. But that is not as easy to do if you are not the flash.
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
why don't you apply reverse psychology on your customer
let him proof your global transaction using broker is less stable then his idea of XA transactions...
even without using XA it's difficult to come up with a test
(not code interrupts to simulate failures at exactly the right point!)
that proves transactionality is lost...
try hitting control-C or pull the power plug at exactly the right nano second... _________________ Michael
why don't you apply reverse psychology on your customer
let him proof your global transaction using broker is less stable then his idea of XA transactions...
If things were that easy...
Michael Dag wrote:
even without using XA it's difficult to come up with a test
(not code interrupts to simulate failures at exactly the right point!)
that proves transactionality is lost...
try hitting control-C or pull the power plug at exactly the right nano second...
If I was that fast I would go and run Marathons.
But seriously... From my point of view its almost impossible, unless you have the source code of the ressource and make it fail by 'prepared' code. Pulling a plug in a time window of less than a milli second seems to be not a real option...
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