You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Executor settings passed to the builder are ignored #262
I am integrating Simple Java Mail to the Bootique framework. It works great otherwise, but I noticed a small inconsistency. If I assemble the mailer like this:
Custom threadPoolSize and threadPoolKeepAliveTime are ignored, as the internal ExecutorService is resolved in MailerGenericBuilderImpl constructor, prior to those properties being redefined.
I found a workaround, which is to configured ExecutorService on my own, and pass it over to .withExecutorService. So while this is not an immediate issue for Bootique, I still figured I'd mention it here.
Activity
bbottema commentedon May 3, 2020
Thank you for reporting this. Will look into it asap.
#262: don't initialize the default ExecutorService until the Operatio…
bbottema commentedon May 3, 2020
Fix released in 6.0.4.
andrus commentedon May 3, 2020
Thanks for the quick turnaround. Looking forward to 6.0.4
bbottema commentedon May 3, 2020
Should be in Maven Central in a few minutes
andrus commentedon May 3, 2020
Already is. Works like a charm. Thanks!