[
https://issues.apache.org/jira/browse/CXF-5516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrei Shakirin updated CXF-5516:
---------------------------------
Description:
In case of use decoupled endpoints in combination with @UseAsyncMethod
annotation, code in AbstractJAXWSMethodInvoker tries to suspend transport
continuation.
It causes "java.lang.IllegalStateException: IDLE,initial" exception and doesn't
make sense, because partial response is already sent to the client and new
processing thread is started. Full response will be sent in separate transport
connection.
was:
In case of use decoupled endpoints in combination with @UseAsyncMethod
annotation, code in AbstractJAXWSMethodInvoker tries to suspend transport
continuation.
It causes exception and doesn't make sense, because partial response is already
sent to the client and new processing thread is started. Full response will be
sent in separate transport connection.
> Decoupled endpoints is not compatible with @UseAsyncMethod annotation
> ---------------------------------------------------------------------
>
> Key: CXF-5516
> URL: https://issues.apache.org/jira/browse/CXF-5516
> Project: CXF
> Issue Type: Bug
> Reporter: Andrei Shakirin
> Assignee: Andrei Shakirin
>
> In case of use decoupled endpoints in combination with @UseAsyncMethod
> annotation, code in AbstractJAXWSMethodInvoker tries to suspend transport
> continuation.
> It causes "java.lang.IllegalStateException: IDLE,initial" exception and
> doesn't make sense, because partial response is already sent to the client
> and new processing thread is started. Full response will be sent in separate
> transport connection.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)