[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Paging discussion:
clebert.suconic@jboss.com
do-not-reply at jboss.com
Mon Aug 4 12:49:48 EDT 2008
anonymous wrote : Can you elaborate more why you need different files for messages and message references? I found it hard to understand from your wiki.
|
I'll reformulate the WIKI, but let me explain this part here.
- Say you have one Address with 10 Messages:
Msg1, 2, 3, 4, 5, 6, 7, 8, 9, 10
- You have two consumers on that Binding. One of them consumed messages 1,2 and 3, the other one consumer 4, 5 and 6. Now the first consumer rolled back the ACKs while the second consumer committed the messages:
After these two Consumers operation, the Binding Queue will have:
Msg1,2,3, 7, 8, 9 (4,5 and 6 are gone)
While another Binding of the same address could still have:
Msg 1,2,3,4,5,6,7,8,9,10
so... because of that we will need the references on a separated data structure.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168520#4168520
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4168520
More information about the jboss-dev-forums
mailing list