-
Enhancement
-
Resolution: Done
-
Major
-
1.4.4.0-fuse
-
None
-
None
The parallel Splitter thread pool parameters are hard coded by default, see org.apache.camel.model.SplitterType.java:
... public Processor createProcessor(RouteContext routeContext) throws Exception { Processor childProcessor = routeContext.createProcessor(this); if (aggregationStrategy == null) { aggregationStrategy = new UseLatestAggregationStrategy(); } if (threadPoolExecutor == null) { threadPoolExecutor = new ThreadPoolExecutor(4, 16, 0L, TimeUnit.MILLISECONDS, new LinkedBlockingQueue()); } return new Splitter(getExpression().createExpression(routeContext), childProcessor, aggregationStrategy, isParallelProcessing(), threadPoolExecutor, streaming); } ...
It would be nice to make the thread pool configurable rather than hard coded as above.