Re: OSGI service Call using Camel route

2020-07-17 Thread Jean-Baptiste Onofre
Hi, How do you package your Camel Java DSL ? Is it in a blueprint bundle with ? Do you have the reference to the service ( with blueprint) in your camel bundle ? Regards JB > Le 17 juil. 2020 à 20:51, vignesh k a écrit : > > I get method not found exception when I try to connect/call OSGI

Re: sjms batch stuck messages

2020-07-17 Thread Bing Lu
found out the stuck messages were actually duplicate messages since I was using indempotentrepository, my question is how do i reroute these messages to another queue if possible? thanks On Friday, July 17, 2020, 02:26:40 PM EDT, Bing Lu wrote: Hi, I'm using sjms batch with activemq,

OSGI service Call using Camel route

2020-07-17 Thread vignesh k
I get method not found exception when I try to connect/call OSGI service using camel route and I am not sure what logic I am missing here. //Exception Caused by: org.apache.camel.RuntimeCamelException: org.apache.camel.component.bean.MethodNotFoundException: Static method with name: getGr

sjms batch stuck messages

2020-07-17 Thread Bing Lu
Hi, I'm using sjms batch with activemq, the consumers processes messages on the queue and after a while, there is nothing going to the consumers and no errors in the log while some messages are still stuck on the queue. any ideas what could have caused this? i have the activemqconnection proper

Re: DefaultTracer traceBeforeRoute not calling dumpTrace

2020-07-17 Thread Claus Ibsen
Hi Yeah that is a little bug. You are welcome to create a JIRA and provide a fix as a github PR https://camel.apache.org/manual/latest/contributing.html On Fri, Jul 10, 2020 at 6:03 PM Alex Soto wrote: > > In Camel 3.4.0 I am trying to customize the Tracing to use DEBUG level > instead of INFO.

Re: Custom splitter

2020-07-17 Thread Claus Ibsen
Hi Probably not as if your input data is string based then you need to parse it and then a one-liner is not easy when its all sorts of combos of lists enclosed in brackets etc. If you are a regexp ninja you may come up with something that can iterate it in a one liner. But then again 5 lines of j

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