Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ACF7710F1E for ; Wed, 21 Aug 2013 13:48:12 +0000 (UTC) Received: (qmail 81229 invoked by uid 500); 21 Aug 2013 13:48:10 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 80768 invoked by uid 500); 21 Aug 2013 13:48:09 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 80481 invoked by uid 99); 21 Aug 2013 13:48:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Aug 2013 13:48:09 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of phangbyte@gmail.com designates 74.125.83.45 as permitted sender) Received: from [74.125.83.45] (HELO mail-ee0-f45.google.com) (74.125.83.45) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Aug 2013 13:48:03 +0000 Received: by mail-ee0-f45.google.com with SMTP id c50so247638eek.4 for ; Wed, 21 Aug 2013 06:47:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=+koowU/0Gzd1Q4UV9j1CDEVh6esskTlNGJAB1Y41l4E=; b=f0Oifx47gc/4CVvZRDAFWGeU0r+tSMvB3ApbyB9QODDGjp4rc6UtNHYBdSjk9ecLmh /N/Bz1EVlW9zsmcvcAehNrEfIMGEyRw7NnqVBpqEgOevZmvw3jKemedx0jHZQ7AtHVFg C6CiqjQdu89tM8mEgqS6wIL+hOsjvE5T6tWSBfuqTlIlHZya2PFUUVart+dmb0P0NCE4 GrTeHQeqxVHmnc/xh9yaUbNxZb2tSUukaj34m6ygivuKtu7RAKwCOAOGKqTpraDzP3H5 4EgAPM6Man7/+ifn7GuinQy9yPUakkGxHtfkCjElPVTT9KOc3CVMg734cV00sREtGx/p isLQ== MIME-Version: 1.0 X-Received: by 10.14.107.195 with SMTP id o43mr3275882eeg.67.1377092862891; Wed, 21 Aug 2013 06:47:42 -0700 (PDT) Received: by 10.14.69.203 with HTTP; Wed, 21 Aug 2013 06:47:42 -0700 (PDT) In-Reply-To: References: Date: Wed, 21 Aug 2013 09:47:42 -0400 Message-ID: Subject: Re: Connecting remotely via JMX From: Tyler Durvik To: users@camel.apache.org Content-Type: multipart/alternative; boundary=001a11c275acea82d904e4756ace X-Virus-Checked: Checked by ClamAV on apache.org --001a11c275acea82d904e4756ace Content-Type: text/plain; charset=ISO-8859-1 I am running standalone. Created the project using "mvn archetype:generate" and went through the steps to create a Java DSL project. On Wed, Aug 21, 2013 at 9:43 AM, Claus Ibsen wrote: > Are you running standalone or in some server/container? And if so which > one? > > On Wed, Aug 21, 2013 at 3:35 PM, Tyler Durvik wrote: > > I have routes defined using Java DSL and want to connect to the JVM > > remotely to monitor the Camel Processors using jconsole. Is there > > something special that I must do in the Java DSL to enable remote JMX? > > Even when I'm on the same machine, jconsole can only connect when I > choose > > the PID. The URL I am using to try and connect is: > > > > service:jmx:rmi:///jndi/rmi://:1099/jmxrmi/camel > > > > I did notice in my Java DSL that the method > > > > > getContext().getManagementStrategy().getManagementAgent().getCreateConnector() > > > > returns false. I set it to true and get the same results. What am I > doing > > wrong? I am using Camel version 2.11.1. > > > > -- > Claus Ibsen > ----------------- > Red Hat, Inc. > Email: cibsen@redhat.com > Twitter: davsclaus > Blog: http://davsclaus.com > Author of Camel in Action: http://www.manning.com/ibsen > --001a11c275acea82d904e4756ace--