Hi Currently it's seems not possible to have optional jsonpath parameters on a bean since the component will throw an PathNotFoundException on missing path's. I think jsonpath should return null on unknown path's instead of throwing PathNotFoundException. If i recall right thats also the behaviour of the XPath component.
It might be enough to just add the SUPRESS_EXCEPTIONS option to the jsonpath configuration engine when it's constructed. I can provide a PR. Any comments ? Best, Preben -- View this message in context: http://camel.465427.n5.nabble.com/How-to-suppress-exceptions-from-Jsonpath-expressions-tp5767384p5767442.html Sent from the Camel - Users mailing list archive at Nabble.com.