i tried already, this is also throwing error, i tried with '1' also
Caused by: org.apache.camel.ExpressionIllegalSyntaxException: Illegal syntax: $..books.length() > '1' at org.apache.camel.jsonpath.JsonPathExpression.init(JsonPathExpression.java:185)