Author: jgomes
Date: Wed Apr 9 23:55:39 2014
New Revision: 1586176
URL: http://svn.apache.org/r1586176
Log:
Use the producer Id passed in to the create function.
Fixes [AMQNET-475]. (See https://issues.apache.org/jira/browse/AMQNET-475)
Modified:
activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Session.cs
Modified:
activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Session.cs
URL:
http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Session.cs?rev=1586176&r1=1586175&r2=1586176&view=diff
==============================================================================
---
activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Session.cs
(original)
+++
activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Session.cs
Wed Apr 9 23:55:39 2014
@@ -455,7 +455,7 @@ namespace Apache.NMS.ActiveMQ
internal virtual MessageProducer DoCreateMessageProducer(ProducerId
id, ActiveMQDestination destination)
{
- return new MessageProducer(this, GetNextProducerId(), destination,
this.RequestTimeout);
+ return new MessageProducer(this, id, destination,
this.RequestTimeout);
}
public IMessageConsumer CreateConsumer(IDestination destination)