Details
-
Type:
Improvement
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.16.0
-
Component/s: camel-core, eip
-
Labels:None
-
Estimated Complexity:Unknown
Description
In XML DSL you can configure parallelProcessing="myConfig" to refer to a property placeholder.
In Java DSL this is a bit harder as the DSL uses .parallelProcessing() to enable this. But to use a placeholder you would need to write a bit more java code to do this.
We should allow to do in Java DSL, eg a boolean and String type, where the latter does the same as XML DSL to do a property placeholder.
.parallelProcessing(true)
.parallelProcessing("myConfig")