You could use normal spring injection with @Value?

2011/8/31 bbuzzard <billy.buzz...@bnsflogistics.com>

> Can I use Spring to inject values into a Custom RouteBuilder that's loaded
> via packageScan?  I would like to pass in a string that changes depending
> on
> the physical machine the custom RouteBuilder is loaded on.  If this is
> possible could you provide a simple example showing how to do this within
> the camel.xml file.
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Can-I-use-Spring-to-inject-values-into-Custom-RouteBuilder-that-s-loaded-via-packageScan-tp4753872p4753872.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
--
David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen

Reply via email to