}
protected void deleteEndpoint() {
try {
CamelContextMBean mbean = getCamelContextNode().getCamelContextMBean();
mbean.removeEndpoints(getEndpointUri());
schemeNode.refresh();
} catch (Exception e) {
CamelJMXPlugin.showUserError("Failed to delete Endpoint", "Failed to delete endpoint: " + getEndpointUri(), e);
}
}