Within activemq.xml, you will see : <import resource="camel.xml"/> Indeed, normally (ie: the way I assume it), putting your routes in the conf/camel.xml should work, but from my experience this configuration is overwritten/overloaded by webapps/camel/WEB-INF/applicationContext.xml.
And it's even worst than a kind of class merging, for example, having some endpoints/queues declared in conf/camel.xml, it's not enough to create them automatically on activemq stack, but it is correctly enough if such declaration is done in webapps/camel/WEB-INF/applicationContext.xml For me, webapps/camel/WEB-INF/applicationContext.xml is the only file you have to modify to reach your expectations. For further questions, I suggest you address them on activemq forum, since it's more related to their integration than to camel itself ;-) Regards, Francois -- View this message in context: http://camel.465427.n5.nabble.com/Where-exactly-put-Spring-XML-commands-in-ActiveMQ-xml-config-file-tp509933p509975.html Sent from the Camel - Users mailing list archive at Nabble.com.
