I never think about such 'on the fly' configuration.
But I suppose that this is something like change the attributes of the ManagedConnectionPool MBean.
In this case you have to call flush() to activate the configuration.
This will unfortunately drop all active connections!