@Component(value="master")
public class MasterComponent
extends org.apache.camel.support.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) |
protected void |
doInit() |
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. |
boolean |
useRawUri() |
afterConfiguration, createEndpoint, createEndpoint, doBuild, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getComponentPropertyConfigurer, getDefaultName, getEndpointPropertyConfigurer, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, resolveRawParameterValues, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setLazyStartProducer, setProperties, setProperties, setProperties, useIntrospectionOnEndpoint, validateParameters, validateURIbuild, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic 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.support.DefaultComponentExceptionpublic boolean useRawUri()
useRawUri in interface org.apache.camel.ComponentuseRawUri in class org.apache.camel.support.DefaultComponentpublic 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