[
https://issues.jboss.org/browse/RF-12219?page=com.atlassian.jira.plugin.s...
]
Milo van der Zee commented on RF-12219:
---------------------------------------
Hello,
I'm wondering. For me a fix is not very obvious but is it already for you? I'm
still trying to discover how it is meant to work and think of a possible fix but that
might be useless if you already know what to do :)
Nonetheless, here is some more debug info. First number is the number of elements in the
queue. Date is obvious. The last column is the java internal object Id of the class
executing the methods.
The first rows are for push after just one publish and one client active. But after some
tab switches. The last row is for the cleanup method and the second column is the
counter.
{code}
55, 2012-05-16T15:49:10.754+02:00, 23678836
55, 2012-05-16T15:49:10.820+02:00, 12206333
54, 2012-05-16T15:49:10.884+02:00, 7787187
53, 2012-05-16T15:49:10.946+02:00, 18214168
52, 2012-05-16T15:49:11.010+02:00, 30524597
52, 2012-05-16T15:49:11.181+02:00, 24031449
0, 2012-05-16T15:49:11.250+02:00, 7952505
1, 52, 7952505
56, 2012-05-16T15:49:15.696+02:00, 23678836
56, 2012-05-16T15:49:15.758+02:00, 12206333
55, 2012-05-16T15:49:15.823+02:00, 7787187
54, 2012-05-16T15:49:15.885+02:00, 18214168
53, 2012-05-16T15:49:15.947+02:00, 30524597
53, 2012-05-16T15:49:16.009+02:00, 24031449
0, 2012-05-16T15:49:16.177+02:00, 7952505
1, 53, 7952505
57, 2012-05-16T15:49:20.716+02:00, 23678836
57, 2012-05-16T15:49:20.779+02:00, 12206333
56, 2012-05-16T15:49:20.842+02:00, 7787187
55, 2012-05-16T15:49:20.908+02:00, 18214168
54, 2012-05-16T15:49:20.973+02:00, 30524597
54, 2012-05-16T15:49:21.173+02:00, 24031449
0, 2012-05-16T15:49:21.246+02:00, 7952505
1, 54, 7952505
{code}
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: Bug
Security Level: Public(Everyone can see)
Components: component-push/poll
Affects Versions: 4.2.1.Final
Reporter: Lukáš Fryč
Assignee: Juraj Huska
Priority: Critical
Fix For: 4.3.0.Milestone1
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