camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pratibhaG <pratibha.ghog...@in2m.com>
Subject How can I replace XML with java configuration?
Date Wed, 02 Jul 2008 05:39:27 GMT

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.


Mime
View raw message