My Store stuff is fairly close.  I need to do some work to finish off the 
handling of transactions and I should be able to commit around the end of this 
week.

However there is a task assigned to me (JBMAIL-25) that recommends that the 
store stuff I have done be reworked to implement org.jboss.mail.msgstore 
interfaces.  I have looked at the interfaces and I am quite confused by them.  
There is no methods that support doing partial reads/writes (this is the most 
important requirement for the store) either via a stream or any other 
mechanism.  There are a number of other small quirks of the interfaces that 
seem to be counter to your requirements (e.g. store should generate ids, not be 
passed them).

On the message side, I was thinking of seperating body from the message and 
making it a seperate class.  The body of the message would handle the 
complexity of whether it is stored or in memory.  It could be fronted by an 
interface and an MBean could generate concrete instances of it.  The body would 
get saved as (small) blob in the existing folder structure.  If the body was 
actually a reference to a object in the store then the folder would be storing 
a persistant handle/proxy.

Mike.

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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to