Jim Gomes created AMQNET-475:
--------------------------------

             Summary: Session.DoCreateMessageProducer() does not use the passed 
in ProducerId
                 Key: AMQNET-475
                 URL: https://issues.apache.org/jira/browse/AMQNET-475
             Project: ActiveMQ .Net
          Issue Type: Bug
          Components: ActiveMQ
    Affects Versions: 1.6.0
            Reporter: Jim Gomes
            Assignee: Jim Gomes
            Priority: Trivial
             Fix For: 1.7.0


The implementation of the internal DoCreateMessageProducer() does not use the 
passed in ProducerId parameter. Instead, it generates a new producer Id.

{code:title=Session.cs}
internal virtual MessageProducer DoCreateMessageProducer(ProducerId id, 
ActiveMQDestination destination)
        {
            return new MessageProducer(this, GetNextProducerId(), destination, 
this.RequestTimeout);
        }
{code}

Expected results:
The function should use the passed in producer Id.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to