[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Strange (?) code in transactionimpl for paging
timfox
do-not-reply at jboss.com
Fri Oct 17 08:12:50 EDT 2008
| // Putting back the size on pagingManager, and reverting the counters
|
|
| if (message.incrementReference(message.isDurable() && queue.isDurable()) == 1)
| {
| pagingManager.addSize(message);
| }
|
I don't understand why this code is necessary. Surely paging happens *before* routing.
So any cancellation shouldn't effect any counters. After all, after cancellation it doesn't get paged again, it's still routed.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4182889#4182889
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4182889
More information about the jboss-dev-forums
mailing list