Package org.apache.camel.processor

Examples of org.apache.camel.processor.Traceable


        return mi;
    }

    private String getEndpointUri(ProcessorDefinition<?> node) {
        if (node instanceof Traceable) {
            Traceable tr = (Traceable)node;
            return tr.getTraceLabel();
        } else {
            return node.getLabel();
        }
    }
View Full Code Here


            if (target instanceof InstrumentationProcessor) {
                target = ((InstrumentationProcessor) target).getProcessor();
            }

            if (target instanceof Traceable) {
                Traceable trace = (Traceable) target;
                return trace.getTraceLabel();
            }
        }

        // default then to definition
        return processorDefinition.getLabel();
View Full Code Here

            return expression.evaluate(exchange, String.class);
        }

        if (processor != null) {
            if (processor instanceof Traceable) {
                Traceable trace = (Traceable) processor;
                return trace.getTraceLabel();
            }
            processor.toString();
        }

        // default then to definition
View Full Code Here

            if (target instanceof InstrumentationProcessor) {
                target = ((InstrumentationProcessor) target).getProcessor();
            }

            if (target instanceof Traceable) {
                Traceable trace = (Traceable) target;
                return trace.getTraceLabel();
            }
        }

        // default then to definition
        return processorDefinition.getLabel();
View Full Code Here

TOP

Related Classes of org.apache.camel.processor.Traceable

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.