Uploaded image for project: 'ActiveMQ .Net'
  1. ActiveMQ .Net
  2. AMQNET-475

Session.DoCreateMessageProducer() does not use the passed in ProducerId

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 1.6.0
    • 1.7.0
    • ActiveMQ

    Description

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

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

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

      Attachments

        Activity

          People

            jgomes Jim Gomes
            jgomes Jim Gomes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified