activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <jira+amq...@apache.org>
Subject [jira] Commented: (AMQNET-290) Add an API model to NMS that allows providers to participate in Distributed Transactions.
Date Thu, 04 Nov 2010 14:34:01 GMT

    [ https://issues.apache.org/activemq/browse/AMQNET-290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=63044#action_63044
] 

Timothy Bish commented on AMQNET-290:
-------------------------------------

Enlisting durable isn't hard, its the recovery portion that is just not really documented
by MS.  

Its possible Messages could be lost if the client app crashes outright during a commit operation
after the prepare phase had ended successfully otherwise the broker would detect the connection
loss and redeliver messages to a different consumer eventually.  

> Add an API model to NMS that allows providers to participate in Distributed Transactions.
> -----------------------------------------------------------------------------------------
>
>                 Key: AMQNET-290
>                 URL: https://issues.apache.org/activemq/browse/AMQNET-290
>             Project: ActiveMQ .Net
>          Issue Type: New Feature
>          Components: NMS
>    Affects Versions: 1.4.0
>            Reporter: Timothy Bish
>            Assignee: Timothy Bish
>            Priority: Minor
>             Fix For: 1.5.0
>
>
> Currently the NMS API doesn't define any way for the client to participate in distributed
transactions.  The JMS model allows a for this using the Java XA transactions.  The JMS API
defines an XAConnectionFactory, XAConnection, and XASession that provide the needed bits to
interact with a Transaction Manager.
> We should provide something similar in NMS that allows for a provider library like NMS.ActiveMQ
to be used in distributed transactions in .NET most likely using the MSDTC.  The API could
expose an IEnlistmentNotification implementation that allows the client to enlist the Transaction
in a DTC controlled transaction as a Resource Manager.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message