Use Filter condition and XPATH for to uri

<filter>
                <simpleconditions for uri or use xpath instead of 
simple</simple>
                <to uri="uri 1 or 2 depending on condition" />
                <log message="Message Sent to desired uri" />
</filter>


Thanks and Regards,

Vanshul Chawla

From: Parikshit Singh [mailto:parikshit.si...@oracle.com]
Sent: Friday, March 27, 2015 3:58 PM
To: users@camel.apache.org; d...@camel.apache.org; iss...@camel.apache.org
Subject: URHENT HELP/POC- Hit URL1 or URL2 based on xml data using Apache Camel
Importance: High

Hi Team,

Can you help me with minimum code to automate the following usecase:-

User will hit camel application URL

Camel will process the xml request and based one some specific tag value it 
will hit other application URL 1 or URL2

URL1 and URL2 will also respond with xml, Camel should be able to get that 
request and send it back

EXPECTATION:
Camel code should be mostly controllable through camelContext.xml may be using 
XQuery/XPATH/OGNL/RegEX plugin.
Please share code/ example/explanation.



Regards,
[cid:image004.gif@01CBAB3F.DD44BCF0]
Parikshit Singh| +91 22 6718 2728 (O) | 11130 2728 (VOIP) | +91 9167610374 (M)| 
parikshit.si...@oracle.com<mailto:parikshit.si...@oracle.com>
Senior Consultant| Agile, Java, UX | Prime Sourcing
Oracle Financial Services Software Ltd.
Mumbai-GO | India
[Green              Oracle]<http://www.oracle.com/commitment>Oracle is 
committed to developing practices and products that help protect the environment

Reply via email to