"There is no methods that support doing partial reads/writes":

You are correct. The current implementation uses Hibernate for persistence, 
with no support for patial reads afaik.  The mailstore interface should be 
adapted to allow it if a store supports it. It would probably mean adding 
properties such as isStreamable, getInputStream and getOutputStream.


"store should generate ids, not be passed them":

The interface does not allow generation of external ids.  When storing a 
message only the sender address and message data is accepted.  The message is 
stored in some way depending on implementation, and a StoredMessage object is 
returned containing the generated message id.

Future references to the stored message are made through this id.

Whether the store should care about the sender address is debatable, it could 
be handled at mailbox level.

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

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


-------------------------------------------------------
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