separate files are the Spring DSL

2011-10-14 Thread newbiee
I have an XML file with the following route: (I have tested it and it works fine) ${header.CamelFileName} regex '^.*xml$' $

Re: separate files are the Spring DSL

2011-10-15 Thread newbiee
Thank you for the reply. I folllowed FAQ given at http://camel.apache.org/how-do-i-import-routes-from-other-xml-files.html Here is the route that I want to import: http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocatio

reading Message for content based routing

2011-10-16 Thread newbiee
Suppose I have following two messages: Message 1: Message 2: I want to route message to queue "application A" or to queue "application B" based on the application value in the message. How can I get to the application value in the message? Thank you -- View this message in context: htt