I have following content based routing in XML. How can I replace it with
java?
<from
uri="jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmsCpswdprfl1:consumerpswdprfl1"/>
<choice>
<when>
<xpath>/request/password = 'cp'</xpath>
<to
uri="jbi:endpoint:urn:org:apache:servicemix:tutorial:camel:jmspswd:providerpswd"/>
</when>
The problem i am facing is for Xpath. I dont know the equivalent in java
--
View this message in context:
http://www.nabble.com/How-can-I-replace-XML-with-java-configuration--tp18230638s22882p18230638.html
Sent from the Camel - Users mailing list archive at Nabble.com.