Re: how to get CamelContext using Spring

2013-03-07 Thread anver
Hi, Please give a "id" to the CamelContext. you can grab it using the Spring's getBean method. For example if you give the following camle context code inside your springs application context xml then you can get the "FIRST-CAMLE-CONTEXT" using the getBean() method http://camel.apache.org/sch

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