]
Jesper Pedersen closed WFLY-4857.
---------------------------------
Resolution: Duplicate Issue
JIRA is not a forum (WFLY-2492)
use ConnectionListener implementation
-------------------------------------
Key: WFLY-4857
URL:
https://issues.jboss.org/browse/WFLY-4857
Project: WildFly
Issue Type: Bug
Components: JCA
Reporter: Hynek Švábek
Assignee: Jesper Pedersen
Hi,
I have tests for implementation ConnectionListener:
org.jboss.jca.adapters.jdbc.spi.listener.ConnectionListener
My questions is:
*Where can I put connectionListener impl?*
If doesn't exist any other possibility can you add new one?
I follow this
https://developer.jboss.org/thread/240575
{code}
In the "org.jboss.ironjacamar.jdbcadapters:main" module add a dependency to
your module with the listener implementation.
BTW, AllConnections is a bit dangerous - don't you want Gracefully ? And, you
don't need use-strict-min when min-pool-size is 0.
{code}
But is not OK change module.xml
According to Brian Stansberry's comment
https://github.com/wildfly/wildfly/pull/7499/files#r33722928
{code}
Plugin points exposed via classname attributes in the WildFly management model should
also include an attribute that allows the user to specify the name of the module in which
the class resides, and the subsystem should load the class from that module.
If a user alters one of our modules, a patch affecting that module will not apply.
{code}