I solved the problem with this code, I logged the message before use path on
it.

<camelContext id="camelProcess"
xmlns="http://camel.apache.org/schema/spring";>
            <route>
                        <from
uri="jbi:endpoint:http://servicemix.apache.org/samples/bridge/pipeline/endpoint"/>
                <to uri="log:org.apache.servicemix.example?level=INFO"/>
                <choice>
                        <when>
                                <xpath>//method='startProcess'</xpath>
                                <to uri="xslt:bridge.xslt"/>
                                <to uri="bean:initiateProcess"/>
                                
                        </when>
                        <otherwise>
                                <to uri="file:/Users/paundejr/..."/>
                        </otherwise>
                </choice>
            </route>
      </camelContext>

-----
Gumba
--
View this message in context: 
http://servicemix.396122.n5.nabble.com/problem-in-content-based-routing-and-xpath-evaluation-SMX4-3-tp4638543p5713899.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to