Hi Guys,
I'd like to grep wot comes to a certain route by checking for an element in
each exchange's XML message.
Each exchange will produce diff exchange message and I 'd like to grep based
of each individual element.
E.g if I am expecting 3 icoming exchanges
<aggregate batchSize="2" outBatchSize="2">
<correlationExpression>
<!-- I'd like to do an expression to grep for each exchange
that comes
in here to check if
a particular element is say "reponse code" and if another
exchange has a certain element in its xml message. I believe I can use
xpath. but I am not certain how to check multiple prdicates. Something e.g
if element_node == "response code" or element_code = "someXMLelement"-->
</correlationExpression>
<to uri="mock:result"/>
</aggregate>
kind regards.
--
View this message in context:
http://old.nabble.com/Compound-Correlation-Expression-tp27208835p27208835.html
Sent from the Camel - Users mailing list archive at Nabble.com.