[jboss-jira] [JBoss JIRA] (WFLY-5975) @RequestScoped context lost in @Asynchonous calls

Stuart Douglas (JIRA) issues at jboss.org
Tue Jan 12 06:06:00 EST 2016


     [ https://issues.jboss.org/browse/WFLY-5975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stuart Douglas resolved WFLY-5975.
----------------------------------
    Resolution: Rejected


Async calls have a new request scope, they do not share the scope of the request that imitated the call.

> @RequestScoped context lost in @Asynchonous calls
> -------------------------------------------------
>
>                 Key: WFLY-5975
>                 URL: https://issues.jboss.org/browse/WFLY-5975
>             Project: WildFly
>          Issue Type: Bug
>          Components: CDI / Weld, EJB
>    Affects Versions: 9.0.2.Final
>            Reporter: Iaroslav Savytskyi
>            Assignee: Stuart Douglas
>         Attachments: async_req_test.7z
>
>
> According to CDI spec 1.2 ( http://docs.jboss.org/cdi/spec/1.2/cdi-spec.html#request_context) request scope should be active during any async calls. But in fact for every thread new request scope created and original data are lost. 



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list