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

[jira] [Commented] (ARTEMIS-669) Send/Receive doesn't work if queue and address name aren't the same

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

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

GitHub user mtaylor opened a pull request:

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

    ARTEMIS-669 Do binding query on sender link attach

    QueueQuery was previously used instead of checking for bindings on a
    particular address name.  This meant sending and receiving only worked
    for those queues that happened to have the same queueName to address.
    This patch replaces this with binding check.
    
    There's also some minor ProtonTest fixes included.

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

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

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

    https://github.com/apache/activemq-artemis/pull/704.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 #704
    
----
commit c8c2cbdcf531b79466da5b882a786d4622ef29a5
Author: Martyn Taylor <mt...@redhat.com>
Date:   2016-08-08T09:31:33Z

    ARTEMIS-669 Do binding query on sender link attach
    
    QueueQuery was previously used instead of checking for bindings on a
    particular address name.  This meant sending and receiving only worked
    for those queues that happened to have the same queueName to address.
    This patch replaces this with binding check.
    
    There's also some minor ProtonTest fixes included.

----


> Send/Receive doesn't work if queue and address name aren't the same
> -------------------------------------------------------------------
>
>                 Key: ARTEMIS-669
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-669
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 1.3.0
>            Reporter: Paolo Patierno
>
> Hello,
> I have a broker with following configuration for a queue :
> <queue name="my_queue1">
>       <address>my_address1</address>
>       <durable>false</durable>
>     </queue>
> Using the qpid-send (AMQP C++) I'm not able to send to "my_address1" receiving the error "target address does not exist". I have no error if I send on "my_queue1" but receiver (on the same queue) doesn't receive the message.
> Using queue name the same as address name, it works.
> So, you can't send and receive to/from a queue that has different queue name and address.



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