camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aki Yoshida <elak...@gmail.com>
Subject Re: org.apache.cxf.cxf-api-Executor queue is full
Date Fri, 20 Jun 2014 09:04:36 GMT
The warning means that the cxf consumer segment is receiving too many
messages than the default WorkQueue at OneWayProcessorInterceptor can
process.
In that case, you could increase the size of the queue as suggested by
the error message (see here for more info
http://cxf.547215.n5.nabble.com/Work-Queue-Configuration-td567763.html)

However, in your case, as you are queueing the messages anyway again
in your camel route, instead of changing the work queue setting, you
may want to use the robust-oneway mode at the cxf consumer endpoint to
skip the cxf's oneway processing queueing (see here for more info
http://camel.465427.n5.nabble.com/Error-handling-when-using-camel-cxf-td5723955.html)

regards, aki

2014-06-17 9:22 GMT+02:00 vs_mahesh <vsmahesh111@yahoo.co.in>:
> Hi all,
>
> What is the probable reason for the below warning
> *
> 15:15:36,883 | WARN  | 1962481300-86990 | OneWayProcessorInterceptor       |
> 170 - org.apache.cxf.cxf-api - 2.6.0.fuse-71-047 | Executor queue is full,
> run the oneway invocation task in caller thread.  Users can specify a larger
> executor queue to avoid this.
> 15:15:36,891 | WARN  | 1962481300-60730 | OneWayProcessorInterceptor       |
> 170 - org.apache.cxf.cxf-api - 2.6.0.fuse-71-047 | Executor queue is full,
> run the oneway invocation task in caller thread.  Users can specify a larger
> executor queue to avoid this.*
>
> the camel route is as follows
>
>  <bean id="jmsConnectionFactory"
> class="org.apache.activemq.ActiveMQConnectionFactory">
>     <property name="brokerURL" value="${brokerURL}" />
>
>     <property name="userName" value="${brokerUserName}" />
>                 <property name="password" value="${brokerPassword}" />
>     </bean>
>   <bean id="pooledConnectionFactory"
> class="org.apache.activemq.pool.PooledConnectionFactory" init-method="start"
> destroy-method="stop">
>   <property name="maxConnections" value="8" />
>   <property name="connectionFactory" ref="jmsConnectionFactory" />
>       <property name="idleTimeout" value="0"/>
>   </bean>
>
>  <bean id="jmsConfig"
> class="org.apache.camel.component.jms.JmsConfiguration">
>   <property name="connectionFactory" ref="pooledConnectionFactory"/>
>   <property name="concurrentConsumers" value="10"/>
>
>   </bean>
> <bean id="activemq"
> class="org.apache.activemq.camel.component.ActiveMQComponent">
>
>             <property name="configuration" ref="jmsConfig" />
>
>       </bean>
> <camelContext xmlns="http://camel.apache.org/schema/spring">
> <route>
> <from uri="cxf:bean:PowerConsumptionPerEquipment" />
>                         >
>
>                         <to uri="Activemq" />
>                 </route>
> <route >
>                         <from uri="Activemq"/>
>
>                         <to uri="SAPClientInvoker" />
>                 </route>
> </camelContext>
>
> <bean id="SAPClientInvoker" class="Invokerclass"
> init-method="init" destroy-method="destroy">
> <property name="sapService" ref="sapPiProxy" />
> </bean>
> <jaxws:client id="sapPiProxy" address="endpointadress"
> serviceClass="ABCserviceclass"
>  />
>
> How to resolve the above Warning?
>
> Thanks,
> MAhesh
>
>
>
> -----
> Thanks And regards,
> Mahesh
> --
> View this message in context: http://camel.465427.n5.nabble.com/org-apache-cxf-cxf-api-Executor-queue-is-full-tp5752404.html
> Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message