Frank Wein
2017-02-08 10:01:55 UTC
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 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