I have a RAR deployed within an EAR file and it defines a config property "host" in the resource-adapter subsystem. I followed the binding instructions here:
If I want to change the "host" configuration property, I need to do the following:
1. Remove the configuration property.
3. Add the configuration property back.
The "value" attribute of the config property isn't writable (JCA doesn't communicate config property changes during runtime): https://issues.jboss.org/browse/WFLY-3729
Trying to add the property again after removal results in an error as Wildfly believes the attribute still exists if you haven't reloaded since removal.
This makes scripting a resource adapter property change difficult, as the "reload" command returns immediately and a script must wait an unknown amount of time for the management interface to become available before it can issue new commands.