RE: Wiring a New Component Using Spring

2012-02-17 Thread Calvert, Zach (Zach)** CTR **
Thank you Willem for the advice. I'll be looking into the use of this method today. Zach Calvert -Original Message- From: Willem Jiang [mailto:willem.ji...@gmail.com] Sent: Tuesday, February 14, 2012 7:16 PM To: users@camel.apache.org Subject: Re: Wiring a New Component Using S

Re: Wiring a New Component Using Spring

2012-02-14 Thread Willem Jiang
Camel supposes to look up the bean reference from the registry (name as the key and bean instance as the value) which could be provided by the Spring Application context. If you want to inject a bean instance into the camel endpoint, you can use EndpointHelper#setReferenceProperties() to do this

Wiring a New Component Using Spring

2012-02-14 Thread Calvert, Zach (Zach)** CTR **
I'm taking on a task of converting bean that we use along a camel route into an actual camel component. I have everything working and wired up (simple processor component) but have one problem. We use Spring to create a bean that we use to interface with various external systems and I want to