Gordon Sim created DISPATCH-510:
-----------------------------------

             Summary: handle amqp:link:redirect
                 Key: DISPATCH-510
                 URL: https://issues.apache.org/jira/browse/DISPATCH-510
             Project: Qpid Dispatch
          Issue Type: Improvement
            Reporter: Gordon Sim


To scale a topic, multiple brokers can be connected to a router network, and 
subscriptions can be spread out over these (some form of forwarding between 
brokers is needed also). Subscribers are then link routed through the router 
network to one of the brokers. However for durable subscribers, they need to be 
rerouted back to the same broker when they reconnect. This requires locating 
the right broker, One option for this is to initially route the link to a 
locating service that queries the brokers to determine the right target. That 
service can then issue a link redirect, specifying a qualified address that 
will reach the right broker.

Though clients can be written to handle this redirection, it would be 
convenient if the router was able to do this transparently.

In other words, when link routing a link, if the target node for the link 
detaches with an amqp:link:redirect error, specifying a different 'address' in 
the 'info' field of the error, the router could re-route the link to the new 
address.

This pattern could be used for other  use cases as well I suspect so could be a 
nice addition to the link routing capability.



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

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

Reply via email to