From: <ovi...@jb...> - 2005-05-07 05:58:43
|
The current Channel interface is not rich enough to allow browsing. getUnacknowledged()/hasMessages() currently refer to the union between the set of messages that have not been acknowledged at all (for example the messages being held by a queue with no receivers) and the set of messages that have been delivered, but then NACKed. The current JBossMQ implementation of BasicQueue.browse() returns only to the first set. Probably the best thing to do is to add a browse() method to the Channel. Do you want to take a look at that? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876866#3876866 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876866 |