camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Karlsen <davidkarl...@gmail.com>
Subject Re: Can I use Spring to inject values into Custom RouteBuilder that's loaded via packageScan
Date Wed, 31 Aug 2011 14:23:47 GMT
You could use normal spring injection with @Value?

2011/8/31 bbuzzard <Billy.Buzzard@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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message