Rob Davies, the CTO of FuseSource, which is now a part of Red Hat, has a new blog post out about a feature in the upcoming ActiveMQ 5.9 release that will allow developers to include a camel.xml file in their ActiveMQ broker config to do some cool stuff:
You can include a camel.xml file into your ActiveMQ broker config - and then if you want to take all messages sent to a Queue and publish them to a Topic, changing their priority along the way - you can do something like this:
<route id="setPriority"> <from uri="broker:topic:test.broker.>"/> <setHeader headerName="JMSPriority"> <constant>9</constant> </setHeader> <to uri="broker:queue:test.broker.component.queue"/> </route>
-- Rob Davies
Check out the full post to get the lowdown on this new feature. The community is pretty excited about it.