Hello everyone,
I am not an advanced user of Camel.
When I use XPath Splitter , I get only one record in the result. How do I
get multiple records ?

For example : 
My XML file is 


 <cone>abc</cone>
 <ctwo>xyz</ctwo>



 <cone>abc123</cone>
 <ctwo>xyz123</ctwo>



 <cone>abcqqq</cone>
 <ctwo>xyzqqq</ctwo>


</c>

I use the following configuration in the xml file :

<camelContext xmlns="http://camel.apache.org/schema/spring";
id="xpathrouter">
        <route>
                <from uri="activemq:queue:myqueue" />
                <split>
                        <xpath  resultType="java.lang.String">/a/b/cone</xpath>
                        <to uri="file:/abc/messages/test" />
                </split>
        </route>
</camelContext>

The result I get is : abc

I also want abc123 and abcqqq in the result.

Can anyone help me out ?

Thank You.
-- 
View this message in context: 
http://old.nabble.com/XPath-Spliiter-Problem-tp28325959p28325959.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to