From dev-return-35094-apmail-activemq-dev-archive=activemq.apache.org@activemq.apache.org Mon Dec 3 21:44:01 2012 Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CC43BE0C3 for ; Mon, 3 Dec 2012 21:44:01 +0000 (UTC) Received: (qmail 49596 invoked by uid 500); 3 Dec 2012 21:44:00 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 49543 invoked by uid 500); 3 Dec 2012 21:44:00 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 49495 invoked by uid 99); 3 Dec 2012 21:44:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Dec 2012 21:44:00 +0000 Date: Mon, 3 Dec 2012 21:44:00 +0000 (UTC) From: "Timothy Bish (JIRA)" To: dev@activemq.apache.org Message-ID: <1646205859.55295.1354571040823.JavaMail.jiratomcat@arcas> In-Reply-To: <1403371983.128537.1348669387521.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (AMQ-4082) Refactor network bridge start/stop to reduce async tasks and synchronisation - it is way to complicated atm MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-4082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Timothy Bish updated AMQ-4082: ------------------------------ Attachment: AMQ4082Patch.txt Took another stab at this today, seems to be working and removes most of the synchronization that was required previously. > 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 > > > 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