The idea behind the design is to be a portable implementation that should run as is on almost any database, based on the services provided by hibernate.
I have tested it on blobs of 10MB, and it performs pretty well on Portgres. It does however consume large amounts of memory since it is not a streaming implementation. I think what we need is a flag on the MessageStore implementation to indicate if it supports streaming, and getInputStream/getOutputStream methods in the StoredMessage interface. I also agree that the MessageStore should not be concerned with the actual content type, since we will most probably use it later on to store other types of data, e.g. newsgroup messages, calendar events etc. Mike, you are welcome to go ahead and modify the Mailstore interface as you see fit. I'd like to get this issue stabilised so that I can continue with the mailbox implementation. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869003#3869003 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869003 ------------------------------------------------------- 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 JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development