[cdi-dev] [JBoss JIRA] (CDI-31) Asynchronous events

Martin Kouba (JIRA) jira-events at lists.jboss.org
Tue Apr 24 03:51:18 EDT 2012

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

Martin Kouba commented on CDI-31:

AFAIK EJB asynchronous methods do not propagate transaction context (see 4.5.3 Transactions in spec). Frankly speaking I can not imagine how this (any context propagation) could work and what benefits it would bring.

As CDI 1.1 will surely have context lifecycle support there is a place for portable extensions to implement non-EJB async events (e.g. deltaspike module).

So I don't think it's necessary to define asychronous events in the spec. Nevertheless I do vote for independent execution with no context propagation.
> Asynchronous events
> -------------------
>                 Key: CDI-31
>                 URL: https://issues.jboss.org/browse/CDI-31
>             Project: CDI Specification Issues
>          Issue Type: Feature Request
>          Components: Events
>    Affects Versions: 1.0
>            Reporter: Nicklas Karlsson
>             Fix For: TBD
> Consider including asynchronous events as their were specified in one of the previous drafts.

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 cdi-dev mailing list