Allow DTC Transaction to be maunally enlisted in Session
--------------------------------------------------------
Key: AMQNET-321
URL: https://issues.apache.org/jira/browse/AMQNET-321
Project: ActiveMQ .Net
Issue Type: Improvement
Components: ActiveMQ
Affects Versions: 1.5.0
Reporter: Timothy Bish
Assignee: Timothy Bish
Priority: Minor
Fix For: 1.5.1, 1.6.0
Currently the .NET transaction support is limited to synchronous consumers
since it relies on there being an Ambient transaction in order to automatically
enlist in a distributed transaction. When an asynchronous listener is
registered it dispatches in a separate thread which can't see the Ambient TX in
the main thread. To allow for async listeners to participate the Session needs
to allow the client app to force an enlistment in a TX, either by forcing the
Ambient transaction of a TransactionScope or by using CommitableTransaction
objects. This is a bit more onerous on the client since they need to more
carefully manage TX state but for those that really want it we should go ahead
and allow it.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira