Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-666

misleading link detach error when creating a link to an address which does not exist

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.5.0
    • None
    • None

    Description

      If you try to create a link (in this case I was creating a JMS MessageProducer) to an AMQP address (e.g 'queue') which does not have a related node (e.g a Queue) then the broker detaches the link with an error. Fair enough.

      However, the actual link detach error returned has some issues:
      It uses error-condition value of 'amqp:internal-error', whereas 'amqp:not-found' is probably more appropriate and typically expected.
      The description says "AMQ219003: error finding temporary queue, AMQ219002: target address does not exist". The link was not being created to a temporary queue in either the JMS or AMQP ('dynamic address') senses, which makes the description somewhat misleading.

      Attachments

        Issue Links

          Activity

            People

              martyntaylor Martyn Taylor
              martyntaylor Martyn Taylor
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: