Hi, I've written a RouteBuilder implementation which I am deploying in AMQ/Camel using the <package> element in the CamelContext. This is working fine - the router deploys and runs as expected. However, I really want to have some configurable properties in this class and I'm struggling to work out how to do this.
I thought of creating another bean in the activemq.xml file (just a plain old bean that contains configuration information and can be customised in the xml file). Is there any way for my router to find the singleton instance that gets created? Also, is there a way to make the dependency explicit, so that initialisation of the route builder is deferred until after the config bean has been built? I'm a bit stumped and would appreciate suggestions either on how to make this way work, or an alternative approach. Thanks, -Dominic -- View this message in context: http://www.nabble.com/Configuring-a-Routebuilder-from-activemq.xml-file--tp14923839s22882p14923839.html Sent from the Camel - Users mailing list archive at Nabble.com.
