public class StubComponent extends VmComponent
ENDPOINTS, QUEUESconcurrentConsumers, defaultQueueFactory, log, maxConcurrentConsumers, queueSizeshutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending| Constructor and Description |
|---|
StubComponent() |
| Modifier and Type | Method and Description |
|---|---|
protected StubEndpoint |
createEndpoint(String endpointUri,
Component component,
BlockingQueue<Exchange> queue,
int concurrentConsumers) |
protected StubEndpoint |
createEndpoint(String endpointUri,
Component component,
BlockingQueueFactory<Exchange> queueFactory,
int concurrentConsumers) |
protected void |
validateParameters(String uri,
Map<String,Object> parameters,
String optionPrefix)
Strategy for validation of parameters, that was not able to be resolved to any endpoint options.
|
protected void |
validateURI(String uri,
String path,
Map<String,Object> parameters)
Strategy for validation of the uri when creating the endpoint.
|
createEndpoint, doStart, doStop, getQueueReference, getQueuesgetConcurrentConsumers, getDefaultQueueFactory, getOrCreateQueue, getOrCreateQueue, getOrCreateQueue, getQueueKey, getQueueSize, registerQueue, setConcurrentConsumers, setDefaultQueueFactory, setQueueSizecreateComponentConfiguration, createParameterConfigurationMap, getEndpointClass, getParameterConfigurationMap, populateParameterConfigurationMap, setEndpointClassafterConfiguration, createConfiguration, createEndpoint, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isResolvePropertyPlaceholders, preProcessUri, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, setProperties, setResolvePropertyPlaceholders, useIntrospectionOnEndpoint, useRawUridoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendpublic StubComponent()
protected void validateURI(String uri, String path, Map<String,Object> parameters)
DefaultComponentvalidateURI in class DefaultComponenturi - the uripath - the path - part after the schemeparameters - the parameters, an empty map if no parameters givenprotected void validateParameters(String uri, Map<String,Object> parameters, String optionPrefix)
DefaultComponentvalidateParameters in class DefaultComponenturi - the uriparameters - the parameters, an empty map if no parameters givenoptionPrefix - optional prefix to filter the parameters for validation. Use null for validate all.protected StubEndpoint createEndpoint(String endpointUri, Component component, BlockingQueueFactory<Exchange> queueFactory, int concurrentConsumers)
createEndpoint in class VmComponentprotected StubEndpoint createEndpoint(String endpointUri, Component component, BlockingQueue<Exchange> queue, int concurrentConsumers)
createEndpoint in class VmComponentApache Camel