[
https://issues.jboss.org/browse/RF-11110?page=com.atlassian.jira.plugin.s...
]
Brian Leathem commented on RF-11110:
------------------------------------
The idea is that the _@Producer_ will inspect the injection points, and bundle the
qualifiers into the _PushEvent_ (which implements the Event interface). The fire method
of the _PushEvent_ will then call:
{code}
TopicsContext.publish(topicKey, data)
{code}
where the _topicKey_ is inferred from the qualifiers discovered and stored by the
@Producer of the PushEvent. The _PushEvent_'s fire method will subsequently publish
_data_ as a CDI event.
It's unfortunate that subsequent CDI _@Oberves_ methods will not have access to the
_@Qualifiers_, but that can be readily fixed when CDI 1.1 is available.
Push and CDI Events integration
-------------------------------
Key: RF-11110
URL:
https://issues.jboss.org/browse/RF-11110
Project: RichFaces
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: component-push/poll
Reporter: Brian Leathem
Assignee: Lukáš Fryč
Priority: Critical
Fix For: 4.1.0.Milestone3
Original Estimate: 6 hours
Remaining Estimate: 6 hours
I would really like to see ajax push work with CDI events directly, without any
requirement for JMS.
Ideally we would leverage the work done in the Errai project.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira