You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Freeman Fang <fr...@gmail.com> on 2008/12/23 09:23:42 UTC

Re: Controlling the thread pool

Take a look at [1]
[1]http://servicemix.apache.org/thread-pools.html
Freeman

Sylvester wrote:
> Hi,
>    Is there a way to control the thread- pool created to handle 
> multiple requests to a SE? If there is, how do I do it?
>
> Thanks,
> Sylvester
>


Re: Controlling the thread pool

Posted by Sylvester <sy...@gmail.com>.
OK thanks

Freeman Fang wrote:
> Hi,
> You can only install one certain components(like there is only on jms 
> component) in one JBI container, but you can deploy several jms 
> components in the jms component
> For an instance, the configuration
> <entry key="flow.jms.servicemix-jms">
> <bean class="org.apache.servicemix.executors.impl.ExecutorConfig">
> <property name="corePoolSize" value="32"/>
> <property name="maximumPoolSize" value="-1"/>
> <property name="queueSize" value="1024"/>
> </bean>
> </entry>
> It's for all jms endpoints  deployed in the jms component.
> Freeman
> Sylvester wrote:
>> So, like the configuration given there is for all bean components or 
>> all jms components..like that?
>>
>> Thanks,
>> Sylvester
>>
>> Freeman Fang wrote:
>>> Hi Sylvester,
>>>
>>> I don't think you can configure threadpool for endpoint, the 
>>> configuration on apply for component leve IMO.
>>> Freeman
>>>
>>> Sylvester wrote:
>>>> Freeman,
>>>> Thanks for the link. How do I specify my particular endpoint in the 
>>>> file? is it the <entry key="   "..> that I need to use?
>>>>
>>>> Thanks,
>>>> Sylvester
>>>>
>>>> Freeman Fang wrote:
>>>>> Take a look at [1]
>>>>> [1]http://servicemix.apache.org/thread-pools.html
>>>>> Freeman
>>>>>
>>>>> Sylvester wrote:
>>>>>> Hi,
>>>>>>    Is there a way to control the thread- pool created to handle 
>>>>>> multiple requests to a SE? If there is, how do I do it?
>>>>>>
>>>>>> Thanks,
>>>>>> Sylvester
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>
>
>

Re: Controlling the thread pool

Posted by Freeman Fang <fr...@gmail.com>.
Hi,
You can only install one certain components(like there is only on jms 
component) in one JBI container, but you can deploy several jms 
components in the jms component
For an instance, the configuration
<entry key="flow.jms.servicemix-jms">
 <bean class="org.apache.servicemix.executors.impl.ExecutorConfig">
 <property name="corePoolSize" value="32"/>
 <property name="maximumPoolSize" value="-1"/>
 <property name="queueSize" value="1024"/>
 </bean>
 </entry>
It's for all jms endpoints  deployed in the jms component.
Freeman
Sylvester wrote:
> So, like the configuration given there is for all bean components or 
> all jms components..like that?
>
> Thanks,
> Sylvester
>
> Freeman Fang wrote:
>> Hi Sylvester,
>>
>> I don't think you can configure threadpool for endpoint, the 
>> configuration on apply for component leve IMO.
>> Freeman
>>
>> Sylvester wrote:
>>> Freeman,
>>> Thanks for the link. How do I specify my particular endpoint in the 
>>> file? is it the <entry key="   "..> that I need to use?
>>>
>>> Thanks,
>>> Sylvester
>>>
>>> Freeman Fang wrote:
>>>> Take a look at [1]
>>>> [1]http://servicemix.apache.org/thread-pools.html
>>>> Freeman
>>>>
>>>> Sylvester wrote:
>>>>> Hi,
>>>>>    Is there a way to control the thread- pool created to handle 
>>>>> multiple requests to a SE? If there is, how do I do it?
>>>>>
>>>>> Thanks,
>>>>> Sylvester
>>>>>
>>>>
>>>>
>>>
>>
>>
>


Re: Controlling the thread pool

Posted by Sylvester <sy...@gmail.com>.
So, like the configuration given there is for all bean components or all 
jms components..like that?

Thanks,
Sylvester

Freeman Fang wrote:
> Hi Sylvester,
>
> I don't think you can configure threadpool for endpoint, the 
> configuration on apply for component leve IMO.
> Freeman
>
> Sylvester wrote:
>> Freeman,
>> Thanks for the link. How do I specify my particular endpoint in the 
>> file? is it the <entry key="   "..> that I need to use?
>>
>> Thanks,
>> Sylvester
>>
>> Freeman Fang wrote:
>>> Take a look at [1]
>>> [1]http://servicemix.apache.org/thread-pools.html
>>> Freeman
>>>
>>> Sylvester wrote:
>>>> Hi,
>>>>    Is there a way to control the thread- pool created to handle 
>>>> multiple requests to a SE? If there is, how do I do it?
>>>>
>>>> Thanks,
>>>> Sylvester
>>>>
>>>
>>>
>>
>
>

Re: Controlling the thread pool

Posted by Freeman Fang <fr...@gmail.com>.
Hi Sylvester,

I don't think you can configure threadpool for endpoint, the 
configuration on apply for component leve IMO.
Freeman

Sylvester wrote:
> Freeman,
> Thanks for the link. How do I specify my particular endpoint in the 
> file? is it the <entry key="   "..> that I need to use?
>
> Thanks,
> Sylvester
>
> Freeman Fang wrote:
>> Take a look at [1]
>> [1]http://servicemix.apache.org/thread-pools.html
>> Freeman
>>
>> Sylvester wrote:
>>> Hi,
>>>    Is there a way to control the thread- pool created to handle 
>>> multiple requests to a SE? If there is, how do I do it?
>>>
>>> Thanks,
>>> Sylvester
>>>
>>
>>
>


Re: Controlling the thread pool

Posted by Sylvester <sy...@gmail.com>.
Freeman,
Thanks for the link. How do I specify my particular endpoint in the 
file? is it the <entry key="   "..> that I need to use?

Thanks,
Sylvester

Freeman Fang wrote:
> Take a look at [1]
> [1]http://servicemix.apache.org/thread-pools.html
> Freeman
>
> Sylvester wrote:
>> Hi,
>>    Is there a way to control the thread- pool created to handle 
>> multiple requests to a SE? If there is, how do I do it?
>>
>> Thanks,
>> Sylvester
>>
>
>