You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Daniel Marbach (JIRA)" <ji...@apache.org> on 2013/09/25 15:36:03 UTC
[jira] [Commented] (AMQNET-422) Added support for transactions for
Asyncronous Listeners
[ https://issues.apache.org/jira/browse/AMQNET-422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13777462#comment-13777462 ]
Daniel Marbach commented on AMQNET-422:
---------------------------------------
Tom, nobody seems to care about the patches we provided.
> 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
> Components: ActiveMQ
> Reporter: Remo Gloor
> Assignee: Jim Gomes
> Priority: Minor
> 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