Need this adaptor class to conform to JMS spec and throw IllegalStateException
from createDurableSubscriber, unsubscribe, createTopic & createTemporaryTopic
Connection URL format
amqp://[user:pass@][clientid]/virtualhost?brokerlist='tcp://host:port?option=\'value\'&option=\'value\';vm://:3/virtualpath?option=\'value\''&failover='method?option=\'value\'&option='value''"
Options are of course optional except for requiring a single broker in the broker list.
In order to protect the consistency of the connection and its child sessions, consumers and producers,
the "failover mutex" must be held when doing any operations that could be corrupted during failover.
When the broker connection dies we can either get sessionClosed() called or exceptionCaught() followed by
sessionClosed() depending on whether we were trying to send data at the time of failure.