public class MasterComponent
extends org.apache.camel.impl.DefaultComponent
This feature is useful if you need to consume from a backend that does not support concurrent consumption.
Constructor and Description |
---|
MasterComponent() |
MasterComponent(org.apache.camel.CamelContext context) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.camel.Endpoint |
createEndpoint(String uri,
String remaining,
Map<String,Object> params) |
org.apache.camel.cluster.CamelClusterService |
getService() |
org.apache.camel.cluster.CamelClusterService.Selector |
getServiceSelector() |
void |
setService(org.apache.camel.cluster.CamelClusterService service)
Inject the service to use.
|
void |
setServiceSelector(org.apache.camel.cluster.CamelClusterService.Selector serviceSelector)
Inject the service selector used to lookup the
CamelClusterService to use. |
afterConfiguration, createComponentConfiguration, createConfiguration, createEndpoint, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isResolvePropertyPlaceholders, preProcessUri, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, setProperties, setResolvePropertyPlaceholders, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURI
public MasterComponent()
public MasterComponent(org.apache.camel.CamelContext context)
protected org.apache.camel.Endpoint createEndpoint(String uri, String remaining, Map<String,Object> params) throws Exception
createEndpoint
in class org.apache.camel.impl.DefaultComponent
Exception
public org.apache.camel.cluster.CamelClusterService getService()
public void setService(org.apache.camel.cluster.CamelClusterService service)
public org.apache.camel.cluster.CamelClusterService.Selector getServiceSelector()
public void setServiceSelector(org.apache.camel.cluster.CamelClusterService.Selector serviceSelector)
CamelClusterService
to use.Apache Camel