You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ganesh Murthy (JIRA)" <ji...@apache.org> on 2018/07/03 18:41:00 UTC

[jira] [Commented] (DISPATCH-1063) Receiver unable to receive messages on waypoint address in two router case

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

Ganesh Murthy commented on DISPATCH-1063:
-----------------------------------------

On further research, the following happens

 

The receiver attaches to Router B and Router B tells Router A that is has a receiver for the address "notify".

Now, Router A issues a credit of 250 to the broker and the broker starts sending messages via the 'in' autoLink to the router A.

Router A adds a router override message annotation of abs.sms to the message before forwarding it to Router B. (This is incorrect. The router should have added "notify" instead of "abc.sms" to the router override message annotation)

When the router B receives the message with abc.sms in its message annotation, the router looks to see if there is a receiver for abc.sms but there is not (our receiver is listening on "notify") and it ends up dropping the message.

 

> Receiver unable to receive messages on waypoint address in two router case
> --------------------------------------------------------------------------
>
>                 Key: DISPATCH-1063
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1063
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Container
>    Affects Versions: 1.1.0, 1.2.0
>            Reporter: Ganesh Murthy
>            Assignee: Ted Ross
>            Priority: Major
>         Attachments: A2.conf, B2.conf
>
>
> Start two routers with the attached config files.
> Start a broker on port amqp and create a queue called abc.sms
> Attach a sender to Router B and send 100 messages to the "notify" address like this
> {noformat}
> python simple_recv.py -m100 --address 0.0.0.0:20101/notify{noformat}
> Attach a Receiver to Router B and receive 1 message from the "notify" address like this -
> {noformat}
> python simple_recv.py -m1 --address 0.0.0.0:20101/notify{noformat}
> The receiver never receives the message



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org