Allow ConnectionListeners to be added before Connection is connected. Currently throws exception
Description
Connections don't allow connection listeners to be added until after being connected, which doesn't seem to make much sense.
This behavior was introduced with cs6050. The commit message reads "3) Improved javadoc (and checking) that reconnectionlisteners should be added once connected.", so it seems releated to the ReconnectionListener.
Connections don't allow connection listeners to be added until after being connected, which doesn't seem to make much sense.
This behavior was introduced with cs6050. The commit message reads "3) Improved javadoc (and checking) that reconnectionlisteners should be added once connected.", so it seems releated to the ReconnectionListener.