Unable to configure ThreadPoolSize in java processor from cm:property file.
Issue
- Unable to configure
ThreadPoolSizein java processor fromcm:propertyfile - I am trying to initialize a
ExecutorServiceincamelProcessor, something like
public TransformProcessor(int a) throws JAXBException {
this.threadPool = Executors.newFixedThreadPool(a);
}
- I want to inject value of threadpool size from a property file so that I dont need to change code again and again.
Environment
- Red Hat JBoss Fuse
- 6.1.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
