Re: Using camel without spring

2014-12-13 Thread yogu13
Hello Claus! Any specific reason for CDI suggestion instead of guice with respect to camel ? Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/Using-camel-without-spring-tp5760251p5760656.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Using camel without spring

2014-12-12 Thread Claus Ibsen
Hi Not that I recall. But check out camel-guice. Instead of guice I would look into CDI instead. On Fri, Dec 12, 2014 at 10:57 AM, yogu13 wrote: > Hi claus, > > is there an example for using Camel and Guice with xml DSL for configuring > Routes? > > Regards, > -Yogesh > > > > -- > View this

Re: Using camel without spring

2014-12-12 Thread yogu13
Hi claus, is there an example for using Camel and Guice with xml DSL for configuring Routes? Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/Using-camel-without-spring-tp5760251p5760616.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Using camel without spring

2014-12-08 Thread yogu13
Thanks Claus for the detailed response... Williem the solution worked and the processor seems to be working now.. I seem to have hit another roadblock .. will open a new thread for it.. Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/Using-camel-without-sp

Re: Using camel without spring

2014-12-08 Thread Claus Ibsen
On Sun, Dec 7, 2014 at 7:26 PM, yogu13 wrote: > Hi, > > I am checking out on the possibility of using camel without spring... I was > looking at the examples available on this regard and could only find > http://camel.apache.org/servlet-tomcat-no-spring-example.html. The example > shown is quite s

Re: Using camel without spring

2014-12-07 Thread yogu13
Thanks Williem! I will try this out ... Let me know if you need any help building those examples, probably i can assist you with that. Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/Using-camel-without-spring-tp5760251p5760267.html Sent from the Camel - Us

Re: Using camel without spring

2014-12-07 Thread Willem Jiang
OK, I know you point, you need to setup the camel registry for lookup the processor reference. Please take a look at the section of "Using custom CamelContextLifecycle"[1], there is an example to show you how to setup the registry for processor reference that you may use. I will update the exam

Re: Using camel without spring

2014-12-07 Thread yogu13
Thanks for the quick reply williem! my configuration used is as follows: web.xml http://xmlns.jcp.org/xml/ns/javaee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd

Re: Using camel without spring

2014-12-07 Thread Willem Jiang
You can define the aggregator and processor just as you do with spring. As Camel has a set of internal modules, which can be unmarshalled from the xml with JAXB, to implement the EPI. We just need to tellĀ  JndiCamelServletContextListener to load these routes xml this time. The route definition is