Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-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 25AAA106B0 for ; Mon, 7 Oct 2013 16:26:21 +0000 (UTC) Received: (qmail 43521 invoked by uid 500); 7 Oct 2013 16:26:20 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 43456 invoked by uid 500); 7 Oct 2013 16:26:13 -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 Delivered-To: moderator for dev@camel.apache.org Received: (qmail 41308 invoked by uid 99); 7 Oct 2013 16:23:51 -0000 X-ASF-Spam-Status: No, hits=1.3 required=5.0 tests=SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Date: Mon, 7 Oct 2013 09:23:24 -0700 (PDT) From: "l.muscari" To: dev@camel.apache.org Message-ID: <1381163004324-5741035.post@n5.nabble.com> Subject: Getting route info problems. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org hi, i'am a young developer and in this day i have to develop with apache camel for first time. So, i have a simple webapp, with a org.apache.camel.component.servletlistener.SimpleCamelServletContextListener listener and a servlet that implements CamelContextLifecycle that manage the lyfecycle of camel context. in this servlet, i load some ROUTES from a properties file. till here all is ok. now i have to do a simple web page (a jsp-page) that make the summary of routes that have been loaded. to do this i need to retrieve the "from " a and "to ". till now i try in vain to get these info from CamelContext, by taking it from the servlet that implements CamelContextLifecycle and i can retrieve tha camel context. but from this i can't get info i needed. i can retrieve the "from" info by get the endpoint of single route from camel context, but for "to" info i been not able. If you know a way to get this info from camel context (or eventually by other way) please help me!!! Luca -- View this message in context: http://camel.465427.n5.nabble.com/Getting-route-info-problems-tp5741035.html Sent from the Camel Development mailing list archive at Nabble.com.