[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: new QueueBrowser implementation

timfox do-not-reply at jboss.com
Fri Oct 10 04:51:37 EDT 2008


"ataylor" wrote :  once empty the client will make a final check to see if there are any messages waiting to be delivered or in transit and take the appropriate action.
  | 

I don't think you need to make any special extra requests - the current consumer should be enough.

anonymous wrote : 
  | On the server side when a browser is created or reset the browser first obtains the list of current references on a queue and add them to its one internal queue. 
  | 

Taking a snap shot is what we currently do, and is one of the main problems with the current approach.

Instead the browser should maintain an iterator on the queue. It doesn't need an internal queue.


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

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



More information about the jboss-dev-forums mailing list