PDA

View Full Version : Transaction support


Flozano
06-13-2007, 04:52 PM
What about transaction support? could this join an Ado transaction manager and do a last-commit "hack"? or use TxScope with MSMQ?
What's the strategy for transactions in messaging?

reza_rahman
06-13-2007, 05:08 PM
Looks like there is some transaction support built into NMS. Nor sure if NMS.MSMQ supports it though....

reza_rahman
06-13-2007, 07:57 PM
On closer inspection, it looks like transactional behavior is supported, but not automatically propagated from the Spring context. I am willing to bet this support is in the works, though...

Mark Pollack
06-14-2007, 04:13 AM
Hi,

Could you describe your enviornment and use case a bit more. Specificially, what .NET version (2.0/1.1) and messaging product (MSMQ, ActiveMQ, TIBCO EMS).

If you are using .NET 2.0 and MSMQ, then you can rely on .NET 2.0 TxScope to programmatically perform a distributed transaction across the both transaction resources (db/message bus). If you would like to use declarative transactions then you can use Spring's TxScopeTransactionManager to achieve that goal.

TIBCO EMS does not support distributed transactions at the moment, the next version will I believe. I'm pretty sure that ActiveMQ's C# binding doesn't support this either.


Cheers,
Mark