Hi Romain,
I've updated the PR to get the resource location from a property.
In relation to the try/catch... I'm assuming that the library is
supposed to work with both SE and EE environments, if we don't catch the
exception this will never work on SE. In any case, if an error exists,
it will be printed and can be found.
Cheers
Bruno Baptista
http://twitter.com/brunobat_
On 03/10/2018 10:10, Romain Manni-Bucau wrote:
Hi Bruno,
Technically this pool does not "have to be" managed ;).
That said this is a good feature. Can you make the pool configurable
instead of hardcoding the default pool which is never used except in
tests? Will also avoid to catch and silently ignore the error (can be
an issue in servers).
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github
<https://github.com/rmannibucau> | LinkedIn
<https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>
Le mer. 3 oct. 2018 à 10:58, Bruno Baptista <[email protected]
<mailto:[email protected]>> a écrit :
Hi folks,
Safegard creates a java se connection pool to handle the bulckhead
and
async operations. When deployed in a container, that pool has to be
managed.
I created a PR that allows to retrieve that managed pool, if
available:
https://github.com/apache/geronimo-safeguard/pull/2
Can someone please take a look at it?
Regards
--
Bruno Baptista
http://twitter.com/brunobat_