Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-384

use ConnectionListener implementation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • None
    • JCA
    • None

      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

      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.
      

      But is not OK change module.xml
      According to Brian Stansberry's comment https://github.com/wildfly/wildfly/pull/7499/files#r33722928

      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.
      

            hsvabek_jira Hynek Švábek (Inactive)
            hsvabek_jira Hynek Švábek (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: