Return-Path: Delivered-To: apmail-geronimo-activemq-dev-archive@www.apache.org Received: (qmail 86031 invoked from network); 17 Mar 2006 09:59:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Mar 2006 09:59:41 -0000 Received: (qmail 64370 invoked by uid 500); 17 Mar 2006 09:59:40 -0000 Delivered-To: apmail-geronimo-activemq-dev-archive@geronimo.apache.org Received: (qmail 64346 invoked by uid 500); 17 Mar 2006 09:59:40 -0000 Mailing-List: contact activemq-dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-dev@geronimo.apache.org Delivered-To: mailing list activemq-dev@geronimo.apache.org Received: (qmail 64337 invoked by uid 99); 17 Mar 2006 09:59:40 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Mar 2006 01:59:40 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [64.14.253.135] (HELO goku.simulalabs.com) (64.14.253.135) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Mar 2006 01:59:38 -0800 Received: by goku.simulalabs.com (Postfix, from userid 501) id 30358EC0411; Fri, 17 Mar 2006 01:59:15 -0800 (PST) Received: from localhost (goku [127.0.0.1]) by goku.simulalabs.com (Postfix) with ESMTP id 0A3C0EC040B for ; Fri, 17 Mar 2006 01:59:15 -0800 (PST) Received: from goku.simulalabs.com ([127.0.0.1]) by localhost (goku.simulalabs.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15772-07-2 for ; Fri, 17 Mar 2006 01:59:13 -0800 (PST) Received: from stilton (jira.activemq.org [172.18.20.169]) by goku.simulalabs.com (Postfix) with ESMTP id BF8B1EC03D2 for ; Fri, 17 Mar 2006 01:59:13 -0800 (PST) Message-ID: <8142619.1142596886035.JavaMail.tomcat@stilton> Date: Fri, 17 Mar 2006 04:01:26 -0800 (PST) From: "james strachan (JIRA)" To: activemq-dev@geronimo.apache.org Subject: [jira] Commented: (AMQ-632) TaskRunnerFactory from broker is not carried along to Broker-to-Broker connections MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at goku.simulalabs.com X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://jira.activemq.org/jira//browse/AMQ-632?page=comments#action_35785 ] james strachan commented on AMQ-632: ------------------------------------ Its a bit confusing isn't it :) So the NetworkConnector creates the DemandForwardingBridge; so you should be able to configure the it with the things you need like etc (BTW true is the default in NetworkConnector.java) There are a few different kinds of bridges available depending on the configurations of the . For added fun, the NetworkConnector class just got refactored; so the concrete class that actually creates the bridge is DiscoveryNetworkConnector - see the createBridge() method for details of how it figures out which bridge to use. For demand forwarding I think you need to set TaskRunnerFactory from broker is not carried along to Broker-to-Broker connections > ---------------------------------------------------------------------------------- > > Key: AMQ-632 > URL: http://jira.activemq.org/jira//browse/AMQ-632 > Project: ActiveMQ > Type: Bug > Components: Broker > Versions: 4.0 M5 > Reporter: Kevin Yaussy > Fix For: 4.0 M5 > Attachments: VMTransportFactory.java > > > When trying to enable dispatchAsync for broker-to-broker connections (which, since I've not found a way to configure demandForwardingBridge in the broker XML, I had to hard code by setting the default value of dispatchAsync in DemandForwardingBridge.java), I found that the TaskRunnerFactory from the broker was not being carried through to the Network connections. > I'm not sure if the way I fixed it is fully acceptable or not, however the attached VMTransportFactory.java seems to fix the issue. I changed doCompositeConnect to call setTaskRunnerFactory on the newly created TransportConnector. > The change is against SNAPSHOT 03/14/2006. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.activemq.org/jira//secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira