@Override
 protected void connectionClosed(Connection c) {
   managedSonicConnection.setConnection(null);
 }
 protected void connectionCreated(Connection c) {
   managedSonicConnection.setConnection((ActiveMQConnection) c);
   if (activeMQSubscriptionEventListener != null) { // NOSONAR
     //            ((ActiveMQConnection)c).addTransportListener(activeMQSubscriptionEventListener);
   }
 }