[
https://issues.jboss.org/browse/RF-11907?page=com.atlassian.jira.plugin.s...
]
Lukáš Fryč updated RF-11907:
----------------------------
Summary: Push: add configuration switch for PushContext initialization on startup
(org.richfaces.push.initializeOnStartup) (was: Push: added context-param switch for
PushContext initialization on startup (org.richfaces.push.initializeOnStartup))
Push: add configuration switch for PushContext initialization on
startup (org.richfaces.push.initializeOnStartup)
-----------------------------------------------------------------------------------------------------------------
Key: RF-11907
URL:
https://issues.jboss.org/browse/RF-11907
Project: RichFaces
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: core
Affects Versions: 4.2.0.CR1
Reporter: Lukáš Fryč
Assignee: Lukáš Fryč
Fix For: 4.2.0.CR1
For applications like Showcase which are accessing {{TopicsContext}} from
non-{{FacesContext}} threads,
{{PushContext}} needs to be initialized from the thread which have
{{FacesContext}}/{{ExternalContext}}
accessible.
These applications are typically pushing messages to the topic periodically
or they receive messages externally (JMS).
New switch {{org.richfaces.push.initializeOnStartup}} should be {{false}} by default,
since regular usage of Push does not require so early initialization.
--
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