activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARTEMIS-666) misleading link detach error when creating a link to an address which does not exist
Date Wed, 03 Aug 2016 12:29:20 GMT

    [ https://issues.apache.org/jira/browse/ARTEMIS-666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15405839#comment-15405839
] 

ASF GitHub Bot commented on ARTEMIS-666:
----------------------------------------

GitHub user mtaylor opened a pull request:

    https://github.com/apache/activemq-artemis/pull/700

    ARTEMIS-666 Fix AMQP error message on address not found

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/mtaylor/activemq-artemis ARTEMIS-666

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/700.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #700
    
----
commit ab39e70dc9b52f5e414cd14ca8329b5fa0934659
Author: Martyn Taylor <mtaylor@redhat.com>
Date:   2016-08-03T12:27:45Z

    ARTEMIS-666 Fix AMQP error message on address not found

----


> 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
>
> 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)

Mime
View raw message