Re: Pause the processing of file

2020-06-12 Thread Mark Nuttall
What that means it will read and send the file line by line to the "to" - upon successful sending to the "to" it will read and send the next line. It fails because the direct no longer exists. On Fri, Jun 12, 2020 at 9:48 AM arshad dar wrote: > Thank you for your response > I was going through t

Re: Pause the processing of file

2020-06-12 Thread arshad dar
Thank you for your response I was going through the documentation it says "When in streaming mode, then the splitter splits the original message on-demand, and each splitted message is processed one by one" So doesn’t that mean if we don’t have demand it won’t produce new exchanges if the route

Re: Pause the processing of file

2020-06-12 Thread Mark Nuttall
The reason the first does not work is because direct routes are just like one method in a class calling another. And stopping the second is like removing the method. What I do when processing the file is read whole file and write to a topic/queue and then have the second route read from the queue.

Pause the processing of file

2020-06-12 Thread arshad dar
I have two routes below, the first route processing a very large CSV file and the second one converts each record to JSON and forwards the message to http-route from(fileUri).routeId(mainRouteId).to(dataFormatURI).split(body()) .streaming() .to("direct:sample") from"direct:sample" .m

Re: Camel netty requestTimeout doesn't work properly

2020-06-12 Thread Zheng Feng
It seems related to https://issues.apache.org/jira/browse/CAMEL-14363. I just checked the PR [1] and it looks a little bit strange to delete the codes which remove the timeout handler after receiving a response. [1] https://github.com/apache/camel/pull/3460 On Fri, Jun 12, 2020 at 3:38 PM Claus I

Re: camel-mail does not fetch attachments in Karaf.

2020-06-12 Thread Jean-Baptiste Onofre
Hi, Sorry, I was busy with other topics. I will work on the sample later today. Regards JB > Le 12 juin 2020 à 08:38, Kushal Gautam a écrit : > > Hi JB: > > Sorry to bug you again. Any solutions or suggestions on this issue? > > I tried a few other things as well, but I am pretty much stuck.

Re: Camel netty requestTimeout doesn't work properly

2020-06-12 Thread Claus Ibsen
Hi It smells like a bug, you are welcome to create a JIRA and if you can work on an unit test we can use as reproducer. Also check the existing timeout tests in camel-netty. On Wed, Jun 10, 2020 at 7:54 PM Vincenzo Galluccio wrote: > > Hello, > > I'm having a problem with Camel-Netty component