MessageBroker
447448449450451452453454455456457
// Update the endpoint id in the broker MessageBroker broker = getMessageBroker(); if (broker != null) { // broker must have the endpoint then broker.removeEndpoint(oldId); broker.addEndpoint(this); } } /**
476477478479480481482483484485486
MessageBroker oldBroker = getMessageBroker(); setParent(broker); if (oldBroker != null) oldBroker.removeEndpoint(getId()); // Add endpoint to the new broker if needed if (broker.getEndpoint(getId()) != this) broker.addEndpoint(this); }
443444445446447448449450451452453
472473474475476477478479480481482