if (ct != null && localUri != null && proxyToLocalBroker) {
ct.add(false, new URI[] { localUri });
}
// Add a transport filter so that we can track the transport life cycle
transport = new TransportFilter(transport) {
@Override
public void stop() throws Exception {
LOG.info("Stopping proxy.");
super.stop();
ProxyConnection dummy = new ProxyConnection(local, this);