I have a method called 
public MessageReference[] getMessageReferences(String selector, int pageNum)

that can be used for the listing of messages paginated. The user typically passes in 
the pageNumber(based on the pagesize, see below) containing the list of messages he 
wants to see. 

There is a managed method called setPageSize(JMX  Managed) that can be used to set the 
page size for message listings.

I was wondering how would a typical client call this? Is it okay to return him an 
array of message references and let him reconstruct the mssage using 
messagereference.getMessage() ? 
How do you envision a typical call to this as this is not something offered by the 
spec(Or is it?)

Thanks


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

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


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to