2 Replies Latest reply on Apr 1, 2009 7:33 AM by jamie archibald

    XPath filters from Property beans using spring?

    jamie archibald Apprentice

      I have a spring configuration which defines my camel routes. I have an xpath filter applied to the input from an activemq endpoint and is routing the output to another activemq endpoint. I would like the xpath filter to be generated from a property bean.

       

      Unfortunately this does not work. I've also tried using bean references as well however no luck.

       

      Is this possible? Or does camel require the xpath be hard coded as follow $</camel:xpath>

               <camel:to value="activemq:topic:AnotherTopic"/>

            </camel:filter>

            </camel:route>

         </camel:camelContext>