You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2017/03/08 23:12:51 UTC

[49/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)

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/a3bfe8be
Tree: http://git-wip-us.apache.org/repos/asf/activemq-nms-openwire/tree/a3bfe8be
Diff: http://git-wip-us.apache.org/repos/asf/activemq-nms-openwire/diff/a3bfe8be

Branch: refs/heads/master
Commit: a3bfe8bed822f84d0d9deef18fd585b238c3f633
Parents: 9adb656
Author: Timothy A. Bish <ta...@apache.org>
Authored: Fri Apr 1 20:14:57 2016 +0000
Committer: Timothy A. Bish <ta...@apache.org>
Committed: Fri Apr 1 20:14:57 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/a3bfe8be/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)
             {