Martyn Taylor resolved ARTEMIS-666.
       Resolution: Fixed
    Fix Version/s: 1.5.0

> 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

Reply via email to