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 1C3FF200C40 for ; Thu, 9 Mar 2017 00:12:10 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 19AB2160B86; Wed, 8 Mar 2017 23:12:10 +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 CA724160BA7 for ; Thu, 9 Mar 2017 00:12:06 +0100 (CET) Received: (qmail 9018 invoked by uid 500); 8 Mar 2017 23:12:05 -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 6806 invoked by uid 99); 8 Mar 2017 23:12:04 -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; Wed, 08 Mar 2017 23:12:04 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 47223F4B5B; Wed, 8 Mar 2017 23:12:04 +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: Wed, 08 Mar 2017 23:12:52 -0000 Message-Id: <39c00350cfd1473caabc2344f640f458@git.apache.org> In-Reply-To: <180f795beb1c4bf99d79e248d7fcfe01@git.apache.org> References: <180f795beb1c4bf99d79e248d7fcfe01@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [50/50] [abbrv] activemq-nms-openwire git commit: Create MessageProducer with a sync call in order to catch creation errors. Fixes [AMQNET-AMQNET-523]. (See https://issues.apache.org/jira/browse/AMQNET-AMQNET-523) archived-at: Wed, 08 Mar 2017 23:12:10 -0000 Create MessageProducer with a sync call in order to catch creation errors. Fixes [AMQNET-AMQNET-523]. (See https://issues.apache.org/jira/browse/AMQNET-AMQNET-523) Project: http://git-wip-us.apache.org/repos/asf/activemq-nms-openwire/repo Commit: http://git-wip-us.apache.org/repos/asf/activemq-nms-openwire/commit/dab33daf Tree: http://git-wip-us.apache.org/repos/asf/activemq-nms-openwire/tree/dab33daf Diff: http://git-wip-us.apache.org/repos/asf/activemq-nms-openwire/diff/dab33daf Branch: refs/heads/1.7.x Commit: dab33daf2be080b0a044f2fd51fc62b69b9505c0 Parents: 976c962 Author: Timothy A. Bish Authored: Fri Apr 1 20:16:25 2016 +0000 Committer: Timothy A. Bish Committed: Fri Apr 1 20:16:25 2016 +0000 ---------------------------------------------------------------------- src/main/csharp/Session.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/activemq-nms-openwire/blob/dab33daf/src/main/csharp/Session.cs ---------------------------------------------------------------------- diff --git a/src/main/csharp/Session.cs b/src/main/csharp/Session.cs index ef91700..e09f6b1 100755 --- a/src/main/csharp/Session.cs +++ b/src/main/csharp/Session.cs @@ -460,7 +460,7 @@ namespace Apache.NMS.ActiveMQ producer.ProducerTransformer = this.ProducerTransformer; this.AddProducer(producer); - this.Connection.Oneway(producer.ProducerInfo); + this.Connection.SyncRequest(producer.ProducerInfo); } catch(Exception) {