Apache Camel parallelProcessing() equivalent threads() instruction
<p>I'm trying to refactor some Apache Camel routes and optimize them as best as I can, without changing their general behavior. One thing I've seen is that most of this routes use the instruction <code>parallelProcessing()</code>. </p>

<p>Is there any way I can change this into a <code>threads()</code> without changing the behavior of the route? </p>

<p>I'd like to do that in order to limit the ThreadPool size. I've been told that the first instruction should be equivalent to <code>threads(30)</code> or something like that. Is this true? I haven't found anything about this on Google.</p>

<p>I'm using Java DSL.</p>

<p>Thank you for the help.</p>