[
https://issues.jboss.org/browse/CDI-698?page=com.atlassian.jira.plugin.sy...
]
Martin Kouba commented on CDI-698:
----------------------------------
In Weld 3.0.0.CR2 when an event is fired asynchronously all observer methods are scheduled
to be notified synchronously in a separate thread, ie. at most one thread is used for a
specific notification. Also ordering should work there.
If we decide to standardize this we should use
{{javax.enterprise.event.NotificationOptions}} which was designed exactly for this kind of
configuration.
Ordering of Async Events
------------------------
Key: CDI-698
URL:
https://issues.jboss.org/browse/CDI-698
Project: CDI Specification Issues
Issue Type: Feature Request
Affects Versions: 2.0 .Final
Reporter: John Ament
Async Events don't presently support ordering. When the number of observers grows,
and is larger than the number of available threads, I may wan to have events follow a
certain order, to ensure my more important observers are seen first.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)