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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.6.0
    • Fix Version/s: 1.7.0
    • Component/s: ActiveMQ
    • Labels:

      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

            • Assignee:
              jgomes Jim Gomes
              Reporter:
              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