Class DynamicallyTrackedProcessor

  • All Implemented Interfaces:
    org.apache.camel.Processor

    public class DynamicallyTrackedProcessor
    extends Object
    implements org.apache.camel.Processor
    Camel Processor that delegates calls to an implementation that is dynamically tracked using a ServiceTracker. Processor implementations are expected to have the following property: name={$processorName} where ${processorName} is used to identify a specific instance of the processor.
    Author:
    jwhite
    • Field Detail

      • LOG

        public static final org.slf4j.Logger LOG
    • Constructor Detail

      • DynamicallyTrackedProcessor

        public DynamicallyTrackedProcessor()
    • Method Detail

      • process

        public void process​(org.apache.camel.Exchange exchange)
                     throws Exception
        Specified by:
        process in interface org.apache.camel.Processor
        Throws:
        Exception
      • setContext

        public void setContext​(org.osgi.framework.BundleContext context)
      • setProcessorName

        public void setProcessorName​(String processorName)
      • destroy

        public void destroy()