Hi Łukasz, Thanks a lot.
It seems that it is possible to configure nmr-consumer-specific thread pools by means of the org.apache.servicemix.nmr.cfg file. For example to configure thread pool for the consumer that consumes messages from MyEndpoint it is necessary to add the following settings into the org.apache.servicemix.nmr.cfg: nmr.endpoint.MyEndpoint.corePoolSize=20 nmr.endpoint.MyEndpoint.maximumPoolSize=20 nmr.endpoint.MyEndpoint.queueSize=4096 nmr.endpoint.MyEndpoint.allowCoreThreadTimeOut=true nmr.endpoint.MyEndpoint.keepAliveTime=60000 Unfortunately it's hardly possible to configure endpoint-producer-specific thread pools, because endpoint names for nmr-producers look like this org.apache.servicemix.camel.nmr.ServiceMixProducer-org.apache.servicemix.nmr.core.util.UuidGenerator@daece7 Best Regards, Sergey Zhemzhitsky -----Original Message----- From: Łukasz Dywicki [mailto:[email protected]] Sent: Monday, September 19, 2011 8:55 PM To: [email protected] Subject: Re: NMR Thread Pool Hey Sergey, As far I know it is possible for JBI components by setting particular thread pool properties. For example servicemix-cxf-se by modifing org.apache.servicemix.components.cxfse configuration. But it is not possible for camel-nmr. Best regards, Lukasz > Hi all, > > I'm wondering whether it is possible to tune the NMR thread pool in camel? > The reason is I would like to configure nmr consumer to use, for example, 20 > threads. > Is it possible to achieve? > > Best Regards, > Sergey Zhemzhitsky > > _______________________________________________________ > > The information contained in this message may be privileged and conf idential > and protected from disclosure. If you are not the original intended > recipient, you are hereby notified that any review, retransmission, > dissemination, or other use of, or taking of any action in reliance upon, > this information is prohibited. If you have received this communication in > error, please notify the sender immediately by replying to this message and > delete it from your computer. Thank you for your cooperation. Troika Dialog, > Russia. > If you need assistance please contact our Contact Center (+7495) 258 0500 or > go to www.troika.ru/eng/Contacts/system.wbp > _______________________________________________________ The information contained in this message may be privileged and conf idential and protected from disclosure. If you are not the original intended recipient, you are hereby notified that any review, retransmission, dissemination, or other use of, or taking of any action in reliance upon, this information is prohibited. If you have received this communication in error, please notify the sender immediately by replying to this message and delete it from your computer. Thank you for your cooperation. Troika Dialog, Russia. If you need assistance please contact our Contact Center (+7495) 258 0500 or go to www.troika.ru/eng/Contacts/system.wbp
