On 04/30/2012 07:16 PM, Cole Ferrier wrote:
I was wondering if there is a Java API that i can deserialize the
FileObjectStore and FileStreamStore files
use case:
1) conditionally send mail to a repository instead of transmitting it.
2) user wants to see what was slated to be sent, and to whom.
Are you referring to classes from 2.3 version?
In 3.0, we have
http://james.apache.org/server/3/apidocs/org/apache/james/repository/file/AbstractFileRepository.html
(with FilePersistentObjectRepository, FilePersistentStreamRepository)
I'm not sure to understand your usecases, but the conditional access is
already well covered by the mailet/matcher systems.
If you want to access via java code the mail files of 2.3, you can get
some inspiration from some code we wrote to import James 2.3 mails into
James 3.0 [1]
[1]
https://svn.apache.org/repos/asf/james/server/trunk/container-spring/src/main/java/org/apache/james/container/spring/tool/James23Importer.java
----------------
On an aside, is there any wrong with using the file repository instead of
the database connectors? (do we get any extra functionality if we use the
database connectors?) Our low volume implementation has been in production
for over two years as is. Our setup allows this filesystem to be presented
to any individual server, and we can move the IP/DNS entry to it, and bring
it up, without any dependency on any other infrastructure.
Are you asking for 2.3 or 3.0 server?
Can you also bring more context on your question?
Cole
Thx, Eric
--
eric | http://about.echarles.net | @echarles
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]