Hi All,
I had added the following configuration:
<sm:executorFactory>
<bean
class="org.apache.servicemix.executors.impl.ExecutorFactoryImpl">
<property name="defaultConfig">
<bean
class="org.apache.servicemix.executors.impl.ExecutorConfig">
<property name="corePoolSize" value="20"/>
<property name="maximumPoolSize" value="32"/>
<property name="queueSize" value="1024"/>
</bean>
</property>
</bean>
</sm:executorFactory>
But still i face the same issue: Draft5MQListenerBinding--onmessage
javax.jbi.messaging.MessagingException: DeliveryChannel has been closed.
at
org.apache.servicemix.jbi.messaging.MessageExchangeFactoryImpl.checkNotClosed(MessageExchangeFactoryImpl.java:64)
at
org.apache.servicemix.jbi.messaging.MessageExchangeFactoryImpl.createInOnlyExchange(MessageExchangeFactoryImpl.java:109)
at
com.symcor.wir.servicemix.mq.Draft5MQListenerBinding.onMessage(Draft5MQListenerBinding.java:22)
Any pointers/suggestions will be of great help
Thanks,
Premjith
MatSM wrote:
>
> Thanks Gert. Shall try it.
>
> Mat
>
> Gert Vanthienen wrote:
>>
>> Mat,
>>
>> You can find more information about configuring thread pools on
>> http://servicemix.apache.org/thread-pools.html. Since it involves
>> editing the servicemix.xml file and there is no support for changing it
>> through the console, I guess the only solution would be to rebuild the
>> ServiceMix WAR file from source, with a modified servicemix.xml file.
>>
>>
>> Gert
>>
>> MatSM wrote:
>>> Hi ,
>>>
>>> I have deployed servicemix as war file in Geronimo. The jms configured
>>> reads
>>> messages from the MQ. While reading the message, the delivery channel is
>>> closed error message is displayed.
>>>
>>> I read in the forum , such an error could rise due to the maximum thread
>>> being reached, this parameter can be configured. If that is the case,
>>> how do
>>> I increase the maximum pool size in servicemix war file?.
>>>
>>> Is there any other cause to such an error?
>>>
>>> Any hints would be appreciated.
>>>
>>> Thanks
>>> Mat
>>>
>>>
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/Delivery-Channel-Closed-tf4751892s12049.html#a13763656
Sent from the ServiceMix - User mailing list archive at Nabble.com.