Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 94529 invoked from network); 17 Mar 2009 09:24:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Mar 2009 09:24:33 -0000 Received: (qmail 49550 invoked by uid 500); 17 Mar 2009 09:24:33 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 49523 invoked by uid 500); 17 Mar 2009 09:24:33 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 49512 invoked by uid 99); 17 Mar 2009 09:24:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Mar 2009 02:24:33 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of claus.ibsen@gmail.com designates 209.85.218.168 as permitted sender) Received: from [209.85.218.168] (HELO mail-bw0-f168.google.com) (209.85.218.168) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Mar 2009 09:24:23 +0000 Received: by bwz12 with SMTP id 12so3872704bwz.20 for ; Tue, 17 Mar 2009 02:24:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=PWDEFs5FkrKufjTI8V5asND7ASGq+92d3JucutPNDOg=; b=NZiNwx5S4AG79oAHZvJLtDOpuB8oUZmmVfBKhH/4B8FZxKE/ZYPmo1uSaxeaC+gnnX sQktEYtTeE17kgEOVeSqGSN7zLDQYhyyLE0ek86M3l0QvXKR+LpVI6rekFJVzwRsKyZO nB2y8bAfsbpKY0l5YKvlfXbEvSKt40Q/4+7qo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=q5T4a5GxQ9YIjkhxlrWSmOa6PerQ2+9roOHwkx+I1FOugpK8r3p3X7v4rVg4Vl3q/P 2HJJtTNYopzL9zhQlc3qHlMHCwjAKtEWHYLjv35Co5qjrQI2wDlPZ65wus1qI3B7L63R Lm9ySDJ8If05Z5xHOQX/ulJxmK3BdKu6PTRC0= MIME-Version: 1.0 Received: by 10.223.105.9 with SMTP id r9mr4154617fao.66.1237281842911; Tue, 17 Mar 2009 02:24:02 -0700 (PDT) Date: Tue, 17 Mar 2009 10:24:02 +0100 Message-ID: <5380c69c0903170224k7d127aa2ka44c138ee2729094@mail.gmail.com> Subject: Camel - JMXConnector Thread From: Claus Ibsen To: dev@camel.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi I was working on CAMEL-1462 and I was wondering why the JMXConnectorThread created in DefaultInstrumentationAgent#createJmxConnector is not set as daemon? eg in the code below there should be a: connector.setDaemon(true) // Start the connector server asynchronously (in a separate thread). Thread connectorThread = new Thread() { public void run() { try { cs.start(); } catch (IOException ioe) { LOG.warn("Could not start JMXConnector thread.", ioe); } } }; connectorThread.setName("Camel JMX Connector Thread [" + url + "]"); connectorThread.start(); LOG.info("JMX Connector thread started and listening at: " + url); -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/