activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
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)
Date Wed, 08 Mar 2017 23:12:52 GMT
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 <tabish@apache.org>
Authored: Fri Apr 1 20:16:25 2016 +0000
Committer: Timothy A. Bish <tabish@apache.org>
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)
             {


Mime
View raw message