Return-Path: X-Original-To: apmail-activemq-commits-archive@www.apache.org Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5D2401831E for ; Fri, 1 Apr 2016 19:03:13 +0000 (UTC) Received: (qmail 61619 invoked by uid 500); 1 Apr 2016 19:03:13 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 61578 invoked by uid 500); 1 Apr 2016 19:03:13 -0000 Mailing-List: contact commits-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 commits@activemq.apache.org Received: (qmail 61569 invoked by uid 99); 1 Apr 2016 19:03:13 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2016 19:03:13 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id DA7381A13E7 for ; Fri, 1 Apr 2016 19:03:12 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.999 X-Spam-Level: X-Spam-Status: No, score=0.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id ET8m-yfXBVdE for ; Fri, 1 Apr 2016 19:03:12 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 651F95FB0F for ; Fri, 1 Apr 2016 19:03:11 +0000 (UTC) Received: from svn01-us-west.apache.org (svn.apache.org [10.41.0.6]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 5E9CBE0095 for ; Fri, 1 Apr 2016 19:03:10 +0000 (UTC) Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id 67A7F3A06C8 for ; Fri, 1 Apr 2016 19:03:10 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1737421 - /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.7.x/src/main/csharp/AdvisoryConsumer.cs Date: Fri, 01 Apr 2016 19:03:10 -0000 To: commits@activemq.apache.org From: tabish@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20160401190310.67A7F3A06C8@svn01-us-west.apache.org> Author: tabish Date: Fri Apr 1 19:03:10 2016 New Revision: 1737421 URL: http://svn.apache.org/viewvc?rev=1737421&view=rev Log: AdvisoryConsumer not sending back acks correctly leading to stall in receiving new advisory messages. Fixes [AMQNET-AMQNET-522]. (See https://issues.apache.org/jira/browse/AMQNET-AMQNET-522) Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.7.x/src/main/csharp/AdvisoryConsumer.cs Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.7.x/src/main/csharp/AdvisoryConsumer.cs URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.7.x/src/main/csharp/AdvisoryConsumer.cs?rev=1737421&r1=1737420&r2=1737421&view=diff ============================================================================== --- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.7.x/src/main/csharp/AdvisoryConsumer.cs (original) +++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.7.x/src/main/csharp/AdvisoryConsumer.cs Fri Apr 1 19:03:10 2016 @@ -79,7 +79,7 @@ namespace Apache.NMS.ActiveMQ ack.AckType = (byte)AckType.ConsumedAck; ack.ConsumerId = messageDispatch.ConsumerId; ack.Destination = messageDispatch.Destination; - ack.FirstMessageId = messageDispatch.Message.MessageId; + ack.LastMessageId = messageDispatch.Message.MessageId; ack.MessageCount = deliveredCounter; this.connection.Oneway(ack);