Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 27BB3200C56 for ; Tue, 7 Mar 2017 00:29:31 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 26C20160B84; Mon, 6 Mar 2017 23:29:31 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B8F7A160B87 for ; Tue, 7 Mar 2017 00:29:28 +0100 (CET) Received: (qmail 21725 invoked by uid 500); 6 Mar 2017 23:29:26 -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 20796 invoked by uid 99); 6 Mar 2017 23:29:26 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Mar 2017 23:29:26 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 37595E2F1F; Mon, 6 Mar 2017 23:29:26 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: tabish@apache.org To: commits@activemq.apache.org Date: Mon, 06 Mar 2017 23:29:59 -0000 Message-Id: <3969ba703bf34ea4a5eba610f5fa061a@git.apache.org> In-Reply-To: <4eb312cf45504de28dfef7461a3790f9@git.apache.org> References: <4eb312cf45504de28dfef7461a3790f9@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [35/50] [abbrv] activemq-nms-stomp git commit: Fix compile for .NET-CF 2.0. Fixes https://issues.apache.org/jira/browse/AMQNET-394 archived-at: Mon, 06 Mar 2017 23:29:31 -0000 Fix compile for .NET-CF 2.0. Fixes https://issues.apache.org/jira/browse/AMQNET-394 Project: http://git-wip-us.apache.org/repos/asf/activemq-nms-stomp/repo Commit: http://git-wip-us.apache.org/repos/asf/activemq-nms-stomp/commit/e15675c1 Tree: http://git-wip-us.apache.org/repos/asf/activemq-nms-stomp/tree/e15675c1 Diff: http://git-wip-us.apache.org/repos/asf/activemq-nms-stomp/diff/e15675c1 Branch: refs/heads/1.5.x Commit: e15675c137961695510abb87cd6ce259e09b94ed Parents: fd6ddc4 Author: Jim Gomes Authored: Mon Aug 20 18:13:06 2012 +0000 Committer: Jim Gomes Committed: Mon Aug 20 18:13:06 2012 +0000 ---------------------------------------------------------------------- src/main/csharp/Connection.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/activemq-nms-stomp/blob/e15675c1/src/main/csharp/Connection.cs ---------------------------------------------------------------------- diff --git a/src/main/csharp/Connection.cs b/src/main/csharp/Connection.cs index ba3ccd3..45e03ec 100755 --- a/src/main/csharp/Connection.cs +++ b/src/main/csharp/Connection.cs @@ -682,8 +682,10 @@ namespace Apache.NMS.Stomp } } - Tracer.Error("No such consumer active: " + dispatch.ConsumerId); - transport.Oneway(new RemoveInfo() { ObjectId = dispatch.ConsumerId }); + Tracer.Error("No such consumer active: {0}. Removing...", dispatch.ConsumerId); + RemoveInfo info = new RemoveInfo(); + info.ObjectId = dispatch.ConsumerId; + transport.Oneway(info); } protected void OnTransportException(ITransport sender, Exception exception)