-
-
Notifications
You must be signed in to change notification settings - Fork 265
-
-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support more advanced batch processing use cases #214
Comments
To support all these features, I'm looking for a thread-safe Generic Object Pool. My requirements are:
I started out with Stormpot as object pool to implement a new SMTP connection pool library, but it is not flexible enough for this use case (and frankly too opinionated). And really the code is... not how I would like to support it (complicated, custom DSL). That on top of code that is already complex due to performance optimizations. I now started a new generic object pool which was originally inspired by the old and inactive KBOP but turned out to be a complete rebirth. It shaping out nicely currently so I'll be re-implementing the SMTP connection pool shortly. I'll add project links later on. I've already implemented the SMPT Connection Pool API and Cluster support in separate (micro) libraries and integrated it in Simple Java Mail, I just need to reintegrate it with the new generic object pool. |
I've finished the generic-object-pool, clustered-object-pool and smtp-connection-pool libraries and integrated SNAPSHOT versions of these in Simple Java Mail. I'm going to release these to Maven soon and then I can finish this Simple Java Mail feature! |
Libraries released. Simple Java Mail is now using SMTP Connection Pool successfully. Now I need to make expose the pool's configuration through Simple Java Mail builder API and property files. After that, provide proper documentation for the website. |
…Mail's regular configuration facilities
Implementation is finished! |
Released in 6.0.0-rc1! |
6.0.0 has released as well, finally. |
Simple Java Mail currently uses threads for handling multiple async send calls, but each thread uses its own Session Transport instance. Unless the actual email payload is huge, creating opening Transport connection to the SMTP server takes about half of the time needed for sending the email.
This issue represents three improvements:
Solves #198
The text was updated successfully, but these errors were encountered: