[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Paging discussion:

clebert.suconic@jboss.com do-not-reply at jboss.com
Tue Aug 19 13:18:58 EDT 2008


anonymous wrote : This is done on a separate thread? 


Yes...

anonymous wrote : 
  | ServerMessage already does reference counting - but only for durable messages. Instead of adding new methods you could just extend what is already there.

My first try was to have a single ref-counting for everything, and an attribute for isDurable on the message, but I realized that you could have some of the bindings durable, and some nonDurable. 

So.. you would need to differentiate the two ref-countings. The Durable-ref-counting is used to delete the message from store, while the other one is used to subtract the size of the Address what will happen regardless of the message being durable or not.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171332#4171332

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171332



More information about the jboss-dev-forums mailing list