Apache Camel 4 HTTP - org.apache.hc.core5.http.StreamClosedException: Stream already closed

2023-10-24 Thread Arthur
Hi, Since the 4.0.0-M3 update of Apache Camel, I encountered a problem where the InputStream in the message body is being consumed (and then closed). As far as I could see, the problem was introduced when Apache Camel HTTP component started using Apache HttpCore5. The idea behind this use case i

Google Pubsub with Camel 3.11.7

2023-10-24 Thread Emily Shih
Hi, We are using Camel 3.11.7 in a Spring app, and trying to create a simple route that reads from a Google PubSub subscription. The connection to the subscription appears to be set up correctly, but we never see any messages actually being pulled. There are no logs that indicate any failures, so

RE: Camel SFTP Consumer with AsyncProcessor

2023-10-24 Thread Shenavai, Manuel
Sorry for the spam. I think I found the relevant changes: https://github.com/apache/camel/commit/0158960a4b65a55f3850e89b6f4b2598ce9a82f0 https://github.com/apache/camel/commit/d96b4b974c39b409767fe888b0e851e1710cfc28 Best regards, Manuel From: Shenavai, Manuel Sent: Dienstag, 24. Oktober 2023 18

Camel SFTP Consumer with AsyncProcessor

2023-10-24 Thread Shenavai, Manuel
Hi everyone, we are currently using Camel 3.14. We see parallel processing in the SFTP consumer if the route contains a Async Processor. This is a big problem because the SFTP client is not thread safe. The good part is, that this problem is already solved in Camel 2.21. Unfortunately I could

Single threaded route execution

2023-10-24 Thread Reto Peter
Hi I got troubles, cause several threads are executing my route at the same time Now I want to make sure the route can only be executed by max. 1 thread at a time. But I couldn't find the definition how to do that. In older versions there was a .synchronized() Or a .executorService(Executors.n