You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Remo Gloor (JIRA)" <ji...@apache.org> on 2013/03/11 09:23:13 UTC
[jira] [Updated] (AMQNET-422) Added support for transactions for
Asyncronous Listeners
[ https://issues.apache.org/jira/browse/AMQNET-422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Remo Gloor updated AMQNET-422:
------------------------------
Attachment: allDTCImprovments.patch
AddedSupportForAmbientTransactionForAsyncConsumers.patch
> Added support for transactions for Asyncronous Listeners
> --------------------------------------------------------
>
> Key: AMQNET-422
> URL: https://issues.apache.org/jira/browse/AMQNET-422
> Project: ActiveMQ .Net
> Issue Type: New Feature
> Reporter: Remo Gloor
> Assignee: Jim Gomes
> Attachments: AddedSupportForAmbientTransactionForAsyncConsumers.patch, allDTCImprovments.patch
>
>
> Asyncronous Listeners do not support transactions properly. I suggest to add the option to register a callback that can be used to create a transaction for each message received by the asyncronous listener.
> e.g.
> ((MessageConsumer)consumer).CreateTransactionScopeForAsyncMessage = this.CreateScope;
> private TransactionScope CreateScope()
> {
> return new TransactionScope(TransactionScopeOption.RequiresNew);
> }
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira