- Common ways to obtain Destination
private void myMethod () {Destination d =
Service service;String id;service.findDestinationById(id)
- Smart code suggestions by Codota
}
Destination dest=service.getDestinations().remove(anno.id()); if (dest != null) { dest.remove(); log.info("RemoteDestination:"+dest.getId()+" has been removed");
Destination dest=service.getDestinations().remove(anno.id()); if (dest != null) { dest.remove(); log.info("RemoteDestination:"+dest.getId()+" has been removed");