[richfaces-issues] [JBoss JIRA] (RF-12219) Push: Test that messages do not become stale in a queue
Milo van der Zee (JIRA)
jira-events at lists.jboss.org
Wed May 16 07:27:18 EDT 2012
[ https://issues.jboss.org/browse/RF-12219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12693230#comment-12693230 ]
Milo van der Zee edited comment on RF-12219 at 5/16/12 7:25 AM:
----------------------------------------------------------------
I found that after every click of the user to another view in my application the number of calls to org.richfaces.application.push.impl.SessionImpl.push() is increased by one. So after a day of work the number of calls to push is very large.
clearBroadcastedMessages() is called correctly and the messagesQueue is cleared every couple of pushes.
was (Author: MilovdZee):
I found that after every click of the user to another view in my application the number of calls to org.richfaces.application.push.impl.SessionImpl.push() is increased by one. So after a day of work the number of calls to push is very large.
> Push: Test that messages do not become stale in a queue
> -------------------------------------------------------
>
> Key: RF-12219
> URL: https://issues.jboss.org/browse/RF-12219
> Project: RichFaces
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: component-push/poll
> Affects Versions: 4.2.1.Final
> Reporter: Lukáš Fryč
> Assignee: Pavol Pitonak
>
> According to the [Forum reference],
> we can have problems with stale messages.
> I would suggest to write tests for following scenarios and check that queue is destroyed properly:
> * view expires
> * client leaves the page with {{a4j:push}} without proper clean up
> * ...
> Let's brainstorm other scenarios.
--
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 richfaces-issues
mailing list