[JBoss JIRA] (JBWS-3920) Default to using original thread for processing one-way messages
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/JBWS-3920?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration commented on JBWS-3920:
-----------------------------------------------
Brad Maxwell <bmaxwell(a)redhat.com> changed the Status of [bug 1403939|https://bugzilla.redhat.com/show_bug.cgi?id=1403939] from POST to MODIFIED
> Default to using original thread for processing one-way messages
> ----------------------------------------------------------------
>
> Key: JBWS-3920
> URL: https://issues.jboss.org/browse/JBWS-3920
> Project: JBoss Web Services
> Issue Type: Enhancement
> Components: jbossws-cxf
> Reporter: Alessio Soldano
> Assignee: Alessio Soldano
> Fix For: jbossws-cxf-5.0.1.Final, jbossws-cxf-5.1.0.Beta1
>
>
> We're currently setting OneWayProcessorInterceptor.USE_ORIGINAL_THREAD to true for EJB3 endpoints, as that's required for proper authorization in the ejb container. We should actually set that by default in the deployment bus, so that any deployment defaults to using the original thread for deailing with oneway message.
> The reason for this is also performances: when a new thread is used for dealing with a oneway message, the message needs to be cached which takes time and memory. Moreover, the user should actually be tuning the web container thread pool to control thread usage when serving ws requests.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)