public class DynamicallyTrackedProcessor extends Object implements org.apache.camel.Processor
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.Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
DynamicallyTrackedProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
process(org.apache.camel.Exchange exchange) |
void |
setContext(org.osgi.framework.BundleContext context) |
void |
setProcessorName(String processorName) |
public void process(org.apache.camel.Exchange exchange) throws Exception
process
in interface org.apache.camel.Processor
Exception
public void setContext(org.osgi.framework.BundleContext context)
public void setProcessorName(String processorName)
public void destroy()
Copyright © 2021. All rights reserved.