[jbossws-issues] [JBoss JIRA] (JBWS-3497) Add ability to configure the queue depth on the asynchronous (@Oneway) work queue.

Alessio Soldano (JIRA) jira-events at lists.jboss.org
Wed May 16 09:49:17 EDT 2012


    [ https://issues.jboss.org/browse/JBWS-3497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12693298#comment-12693298 ] 

Alessio Soldano commented on JBWS-3497:
---------------------------------------

Here is a workaround while waiting for proper solution:

1) install Spring into the org/springframework/spring/main AS 7 module (can also be done using the jbossws-cxf binary distribution, https://community.jboss.org/wiki/JBossWS-Installation)
2) create a jbossws-cxf.xml descriptor listing the endpoint(s) and add that to the deployement in WEB-INF/ (war archive) or META-INF (jar archives), see for example http://anonsvn.jboss.org/repos/jbossws/stack/cxf/tags/jbossws-cxf-4.0.2.GA/modules/testsuite/cxf-spring-tests/src/test/resources/jaxws/cxf/descriptor/WEB-INF/jbossws-cxf.xml
3) create a cxf.xml descriptor as follows and add to the root of deployment (jar archive) or WEB-INF/classes (war archive):
{code:xml}
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">

  <bean id="cxf.default.workqueue" class="org.apache.cxf.workqueue.AutomaticWorkQueueImpl"> 
    <property name="name" value="cxf.default.workqueue"/> 
    <property name="queueSize" value="500"/> 
  </bean>
  
</beans>
{code}
                
> Add ability to configure the queue depth on the asynchronous (@Oneway) work queue.
> ----------------------------------------------------------------------------------
>
>                 Key: JBWS-3497
>                 URL: https://issues.jboss.org/browse/JBWS-3497
>             Project: JBoss Web Services
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-cxf
>    Affects Versions: jbossws-cxf-4.0.2
>         Environment: Linux 64 bit.
>            Reporter: Jeremy Whiting
>            Assignee: Alessio Soldano
>            Priority: Critical
>             Fix For: jbossws-cxf-4.1
>
>
>  I need to increase the queue depth on a thread pool. The underlying CXF implementation is throwing a WARNING indicating the queue is full and the callee thread will have to execute the work. When this occurs performance is degraded.
>  I would like to see the thread pool configuration exposed to allow the setting of
> executor queue depth
> worker thread count

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbossws-issues mailing list