Re: how to get CamelContext using Spring

2013-03-07 Thread anver
melContext = (CamelContext) context.getBean("FIRST-CAMEL-CONTEXT"); System.out.println(camelContext.getEndpoints()); } -Anver -- View this message in context: http://camel.465427.n5.nabble.com/how-to-get-CamelContext-using-Spring-tp4659203p5728716.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: how to get CamelContext using Spring

2011-08-02 Thread Taariq Levack
Hi Sounds like you want to implement CamelContextAware [1] [1] http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/CamelContextAware.html On 02 Aug 2011, at 6:00 PM, shekher awasthi wrote: > Hi All, > > i am trying to use camel in my spring based web-application here i

how to get CamelContext using Spring

2011-08-02 Thread shekher awasthi
Hi All, i am trying to use camel in my spring based web-application here is the entries from my web.xml dispatcher org.springframework.web.servlet.DispatcherServlet 2 org.springframework.web.context.ContextLoaderListener