Re: RouteBuilder & Spring Bean injection

2010-06-08 Thread Claus Ibsen
reate the route builder explicitly. Am I being luddite or >> simply old fashioned? Is there a compelling reason to use the >> approach in your use case? >> >> >> >> - Original Message ----- >> From: Charles Moulliard >> To: users@camel.apache.org

Re: RouteBuilder & Spring Bean injection

2010-06-08 Thread Charles Moulliard
rles Moulliard > To: users@camel.apache.org > Sent: Tue Jun 08 03:07:15 2010 > Subject: RouteBuilder & Spring Bean injection > > Hi, > > I have the following question. > > What is the best way to inject a spring bean in a camel Routebuilder > class when t

Re: RouteBuilder & Spring Bean injection

2010-06-08 Thread Willem Jiang
lling reason to use the approach in your use case? - Original Message - From: Charles Moulliard To: users@camel.apache.org Sent: Tue Jun 08 03:07:15 2010 Subject: RouteBuilder & Spring Bean injection Hi, I have the following question. What is the best way to inject a spring bean i

Re: RouteBuilder & Spring Bean injection

2010-06-08 Thread Adrian Trenaman
@camel.apache.org Sent: Tue Jun 08 03:07:15 2010 Subject: RouteBuilder & Spring Bean injection Hi, I have the following question. What is the best way to inject a spring bean in a camel Routebuilder class when this class is instantiated by camel through spring ? ex :

RouteBuilder & Spring Bean injection

2010-06-08 Thread Charles Moulliard
Hi, I have the following question. What is the best way to inject a spring bean in a camel Routebuilder class when this class is instantiated by camel through spring ? ex : http://camel.apache.org/schema/spring";> com.fusesource.camel.exercises.jms.transaction public class