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

Ted Ross commented on DISPATCH-773:
-----------------------------------

I don't like the 2-phase start idea because I don't believe it solves the 
general problem.

This proposal would only be effective in a deployment where the address, 
autoLink, and linkRoute configuration is static and fully established at 
startup (in the first startup phase).  In the more general case, where address 
provisioning occurs in an ongoing fashion, the problem still exists.  For 
example, a queue/waypoint added to the configuration _must_ complete before any 
consumers attach subscriptions to that address, otherwise the consumer will 
interfere with deliveries sent to the queue.

I claim that the proper solution to the problem is to remove the race condition 
and make the router behave properly regardless of whether endpoints attach 
before or after addresses are configured.

> Implement a 2-phase start in the Dispatch Router
> ------------------------------------------------
>
>                 Key: DISPATCH-773
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-773
>             Project: Qpid Dispatch
>          Issue Type: New Feature
>          Components: Routing Engine
>            Reporter: Adel Boutros
>            Assignee: Ted Ross
>
> All the needed information could be found here:
> http://qpid.2158936.n2.nabble.com/Dispatch-router-2-phase-start-td7663118.html



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to