camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yogu13 <>
Subject Re: configuring Camel with XML DSL and Guice in tomcat
Date Sat, 20 Dec 2014 04:36:09 GMT
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="">
 <from uri="rest:///get:payment/{paymentType}"/>
 <process ref="myProcessor">
   <simple>Hi ${header.paymentType}</simple>


the myProcessor bean instance was created and set in the SimpleRegistry
using the CamelContextLifecycle. Now I do understand Guice doesnt have
container capabilities like Spring but Guice mandates use of GuicyFruit
Implementation as registry
and i would have couple of more classes injected into my processor by Guice.
so how do i go about dealing in this case ?

Appreciate your help on this.


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message