Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ADC51D5E5 for ; Fri, 24 May 2013 08:46:28 +0000 (UTC) Received: (qmail 16063 invoked by uid 500); 24 May 2013 08:46:28 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 14320 invoked by uid 500); 24 May 2013 08:46:25 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 13754 invoked by uid 99); 24 May 2013 08:46:24 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 May 2013 08:46:24 +0000 Date: Fri, 24 May 2013 08:46:23 +0000 (UTC) From: "Tom (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMQNET-422) Added support for transactions for Asyncronous Listeners MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQNET-422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13666119#comment-13666119 ] Tom commented on AMQNET-422: ---------------------------- Fixed? > 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