Re: configuring Camel with XML DSL and Guice in tomcat

2014-12-22 Thread yogu13
Hello, Any suggestions / pointers ? Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/configuring-Camel-with-XML-DSL-and-Guice-in-tomcat-tp5760657p5760999.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: configuring Camel with XML DSL and Guice in tomcat

2014-12-19 Thread yogu13
Apologies for the delayed response ... I would like to understand how can Guice be used in following case : In my sample route below ?xml version=1.0 encoding=UTF-8? routes xmlns=http://camel.apache.org/schema/spring; route from uri=rest:///get:payment/{paymentType}/ process

Re: configuring Camel with XML DSL and Guice in tomcat

2014-12-16 Thread Willem Jiang
I don’t think you need to dependency injection in your XML DSL, as we just look up the instance from the registry. Can you give an example that you need to use Guice to do the DI work? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English)

Re: configuring Camel with XML DSL and Guice in tomcat

2014-12-14 Thread yogu13
Any thoughts on this? -- View this message in context: http://camel.465427.n5.nabble.com/configuring-Camel-with-XML-DSL-and-Guice-in-tomcat-tp5760657p5760679.html Sent from the Camel - Users mailing list archive at Nabble.com.

configuring Camel with XML DSL and Guice in tomcat

2014-12-13 Thread yogu13
Here is my understanding of things that needs to be done if Guice - Camel and XML DSL have to work together 1. create a ServletContextListener which would do the following a. extracts Routes from the XML b. create a JNDI Registry instance (GuiceyFruit implementation) c.