Re: JSONPath error in Content based router

2020-07-20 Thread Reji Mathews
Oh! that's interesting. Thanks for the clue! On Fri, Jul 17, 2020 at 4:36 AM Claus Ibsen wrote: > Hi > > Smells like you data is streaming and can only be read once. And so > when the data is < 20 then the content based router is evaluating 2 > times, and the 2nd time for < 20 the data cannot be

Re: JSONPath error in Content based router

2020-07-17 Thread Claus Ibsen
Hi Smells like you data is streaming and can only be read once. And so when the data is < 20 then the content based router is evaluating 2 times, and the 2nd time for < 20 the data cannot be re-read. See more at https://camel.apache.org/manual/latest/stream-caching.html On Fri, Jul 10, 2020 at 8

JSONPath error in Content based router

2020-07-10 Thread Reji Mathews
I have a route like below http://0.0.0.0:8081/branch?httpMethodRestrict=PUT "/> java.lang.Exception $.[?(@.age>20)]