You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2013/01/30 18:17:13 UTC

[jira] [Resolved] (AMQ-4082) Refactor network bridge start/stop to reduce async tasks and synchronisation - it is way to complicated atm

     [ https://issues.apache.org/jira/browse/AMQ-4082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish resolved AMQ-4082.
-------------------------------

    Resolution: Fixed

Patch applied, its a first step at simplifying things but there's definitely more work that could be done.  Right now if you make the start method sync you end up with more issues coming from the discovery bits. 
                
> Refactor network bridge start/stop to reduce async tasks and synchronisation - it is way to complicated atm
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-4082
>                 URL: https://issues.apache.org/jira/browse/AMQ-4082
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>            Reporter: Gary Tully
>             Fix For: 5.8.0
>
>         Attachments: AMQ4082Patch.txt, AMQ4082Patch.txt, AMQ4082Patch.txt, AMQ4082Patch.txt, AMQ4082Patch.txt, AMQ4082Patch.txt
>
>
> sequence of events on a start is way to random as a result of many async tasks.
> It should/could be very simple.
> start remote transport
> wait for remote broker info
> start local transport and local bridge
> start remote bridge
> it is all or nothing w.r.t to success or failure.
> we have sufficient tests in place to safely do the refactor at this stage.
> There have been many bugs in this area and there are still some outstanding
> https://issues.apache.org/jira/browse/AMQ-3993

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira