Re: OSGI service Call using Camel route

2020-07-20 Thread Jean-Baptiste Onofre
Yes, it’s what I thought: the Java DSL doesn’t use the same bean container. As you are mixing blueprint and Java DSL, the bean from blueprint are not visible in Java DSL. So, either you only use blueprint, or load the service ref in Java DSL (without blueprint, directly in a bundle). Regards JB

Re: OSGI service Call using Camel route

2020-07-20 Thread vignesh k
Thanks JB, when the OSGI service invoked from XML DSL it worked and I got good response and I am not sure what I missed when I invoke OSGI service from java DSL. //Blueprint with camel XML DSL http://www.osgi.org/xmlns/blueprint/v1.0.0"; xmlns:cm="http://aries.apache.org/blueprint/xmlns/bluep

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