camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "l.muscari" <l.musc...@reply.it>
Subject Getting route info problems.
Date Mon, 07 Oct 2013 16:23:24 GMT
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.

Mime
View raw message