We need a mechanism to lazy load BasicQueues.

Ideally this should use a special MessageReference
that serves as a marker for where the queue should go back to the
PersistenceManager to load extra messages.

Implementation details:
1) Extend the jdbc persistence managers to store
priority/delivery order so the messages can read in the correct order
2) The marker contains the queue element that is not loaded.

Some considerations:
1) Unused queues/subscriptions should just be this marker reference
2) Need to read/skip messages that have been received but not acknowledged
3) Should selectors be taken into account when loading data into the queue?
4) Need to make sure the timing is correct such that acknowledgement requests
are not deleted until the pm has deleted the peristent copy.
5) Need a softener to replace messages in the queue with the marker, making
sure all messages are persisted.

Regards,
Adrian

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

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


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to