Java 类org.apache.camel.Traceable 实例源码

项目:Camel    文件:JMXNotificationTraceEventHandler.java   
private String getEndpointUri(ProcessorDefinition<?> node) {
    if (node instanceof Traceable) {
        Traceable tr = (Traceable)node;
        return tr.getTraceLabel();
    } else {
        return node.getLabel();
    }
}