Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 226EB1896F for ; Tue, 22 Dec 2015 22:43:40 +0000 (UTC) Received: (qmail 8584 invoked by uid 500); 22 Dec 2015 22:43:39 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 8536 invoked by uid 500); 22 Dec 2015 22:43:39 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 8525 invoked by uid 99); 22 Dec 2015 22:43:39 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Dec 2015 22:43:39 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 149A4180477 for ; Tue, 22 Dec 2015 22:43:39 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.488 X-Spam-Level: *** X-Spam-Status: No, score=3.488 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, NML_ADSP_CUSTOM_MED=1.2, SPF_SOFTFAIL=0.972, URIBL_BLOCKED=0.001, URI_HEX=1.313, URI_TRY_3LD=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id N-G0JqlISsiL for ; Tue, 22 Dec 2015 22:43:30 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTP id 095D3203B7 for ; Tue, 22 Dec 2015 22:43:30 +0000 (UTC) Received: from mjoe.nabble.com (unknown [162.253.133.57]) by mwork.nabble.com (Postfix) with ESMTP id D97296C99EC7 for ; Tue, 22 Dec 2015 14:41:40 -0800 (PST) Date: Tue, 22 Dec 2015 14:24:41 -0800 (PST) From: sburczymucha To: users@activemq.apache.org Message-ID: <1450823081041-4705372.post@n4.nabble.com> In-Reply-To: <56780DC0.6090702@gmail.com> References: <1450560808009-4705218.post@n4.nabble.com> <56780DC0.6090702@gmail.com> Subject: Re: Active NMS - ISession and transaction listeners - how do I get TransactionId MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, I think that this is due to setting TransactionId to null just before calling Listeners: https://svn.apache.org/repos/asf/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.7.x/src/main/csharp/TransactionContext.cs Method Rollback() and Commit(): this.transactionId = null; I'm not sure if this is intended or not and why it isn't null'ed just after calling listeners. Best Regards, -- View this message in context: http://activemq.2283324.n4.nabble.com/Active-NMS-ISession-and-transaction-listeners-how-do-I-get-TransactionId-tp4705218p4705372.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.