This content has been marked as final.
Show 1 reply
-
1. Re: JDBC ConnectionListener Parameters
urh.srecnik Sep 10, 2014 11:41 AM (in response to urh.srecnik)The solution was to simply create bean properties (getMyProperty(), setMyProperty() methods) and add following to standalone.xml:
<connection-listener class-name="com.my.package.MyConnectionListener">
<config-property name="myProperty">my-value</config-property>
</connection-listener>
if using jboss-cli.sh, you can specify properties like this:
data-source add --name=MyTestDS --connection-listener-property={"myProperty"=>"my-value"} --connection-listener-class=com.my.package.MyConnectionListener ...