marcoratto / mqjexplorer

Automatically exported from code.google.com/p/mqjexplorer
8 stars 9 forks source link

Enable browsing past 200 messages #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
As mentioned in the future enhancements page of the original project 
(http://www.kolban.com/mqjexplorer/Help/future_enhancements.htm), browsing 
messages on a queue only displays the first 200 messages.  This should be 
changed to allow browsing all the messages.

Original issue reported on code.google.com by keeganw...@gmail.com on 3 Feb 2012 at 3:14

GoogleCodeExporter commented 9 years ago

Original comment by marcora...@gmail.com on 27 Feb 2012 at 3:28

GoogleCodeExporter commented 9 years ago
Hi,
there is the new release 0.14 Beta with a new parameter on a properties file 
for managing the depth of a queue.
Could you download and try it ?

regards
Marco

Original comment by marcora...@gmail.com on 18 Apr 2012 at 9:58

GoogleCodeExporter commented 9 years ago
This seems to work as you describe.  It's nice to have some way of viewing more 
messages on queue, but it'd be nicer if this didn't have to be entered at app 
startup time.  This could be done several ways.  One might be if there were an 
entry box where this could be changed on the fly right before you do the 
browse.  Another might be to implement paging as described in #2 of the link I 
previously attached (though though this would probably be more tricky).

Something simpler might be instead of looping from 0 to the message limit, loop 
from 0 to MQQueue.getCurrentDepth() 
(http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/index.jsp?topic=%2Fcom.ibm.
mq.javadoc.doc%2FWMQJavaClasses%2Fcom%2Fibm%2Fmq%2FMQQueue.html) in 
MessageListTableModel.java (or you could use the call in MQUtils.java).  This 
might be problematic if there were a massive number of messages on the queue, 
but I wouldn't think that'd be the case with a couple thousand.

What do you think?

Original comment by keeganw...@gmail.com on 20 Apr 2012 at 8:56

GoogleCodeExporter commented 9 years ago
New release has this features.

Original comment by marcora...@gmail.com on 24 Apr 2013 at 4:04