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.newSingleThreadExecutor());

Can someone give me a hint on how to make it single threaded?

Camel 3.20.6
Spring Boot 2.7.12
Java 17

Thanks in advance
Reto

Reply via email to