You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "clebert suconic (JIRA)" <ji...@apache.org> on 2016/10/21 18:43:00 UTC
[jira] [Closed] (ARTEMIS-666) misleading link detach error when
creating a link to an address which does not exist
[ https://issues.apache.org/jira/browse/ARTEMIS-666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
clebert suconic closed ARTEMIS-666.
-----------------------------------
> 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
> Assignee: Martyn Taylor
> Fix For: 1.5.0
>
>
> 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)