You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Martyn Taylor (JIRA)" <ji...@apache.org> on 2016/08/03 12:27:20 UTC

[jira] [Created] (ARTEMIS-666) misleading link detach error when creating a link to an address which does not exist

Martyn Taylor created ARTEMIS-666:
-------------------------------------

             Summary: misleading link detach error when creating a link to an address which does not exist
                 Key: ARTEMIS-666
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-666
             Project: ActiveMQ Artemis
          Issue Type: Bug
            Reporter: Martyn Taylor


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)