You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/04/06 11:59:46 UTC
[GitHub] [camel] JiriOndrusek commented on a change in pull request #5299: CAMEL-16459 jsonpath and platform-http-vertx causes PathNotFoundException
JiriOndrusek commented on a change in pull request #5299:
URL: https://github.com/apache/camel/pull/5299#discussion_r607785064
##########
File path: components/camel-jsonpath/src/main/java/org/apache/camel/jsonpath/JsonPathEngine.java
##########
@@ -182,14 +182,30 @@ private Object doRead(String path, Exchange exchange) throws IOException, CamelE
return JsonPath.using(configuration).parse(list).read(path);
} else {
// can we find an adapter which can read the message body/header
- Object answer = readWithAdapter(path, exchange);
+ Object answer = null;
Review comment:
@davsclaus It makes sense, I'll rework it to decide correctly before an exception is thrown. Thanks for the suggestion.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org