Frank Wein wrote:
Hi all,
I wonder how I can achieve the following: I want to evaluate a JsonPath predicate in a when() expression on a string, which is inside a Map/MapMessage. If possible, this should be done with the Camel Java DSL. The original message should not be modified, I only want to evaluate the JsonPath expression on this specific spring. It looks to me I have to combine a simple(body[jsonString]) expression with a jsonpath(...) expression, but I'm not really sure how to do that. Or is there another approach which would work better for this type of problem? Someone can give me a hint?

Best regards
Frank

I just found out it's possible to use simple expression in Camel 2.18 with jsonpath: "It's now possible to in-lined Simple <http://camel.apache.org/simple.html> language expressions in the JSonPath expression using the simple syntax *|${xxx}|*."

This would probably me, however: Is there also a solution that works with Camel 2.17.3?

Frank

--
Frank Wein
Forschungsgruppe Netz
Friedrich-Alexander-Universitaet Erlangen-Nuernberg
Regionales Rechenzentrum Erlangen (RRZE)
Martensstrasse 1, 91058 Erlangen, Germany
Tel. +49 9131/85-29983, Fax +49 9131/302941
frank.w...@fau.de
www.rrze.fau.de


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to