public class DefaultCamelContext extends org.apache.camel.impl.engine.SimpleCamelContext implements ModelCamelContext
| Constructor and Description |
|---|
DefaultCamelContext()
Creates the
ModelCamelContext using
DefaultRegistry as registry. |
DefaultCamelContext(org.apache.camel.spi.BeanRepository repository)
Creates the
CamelContext using the given BeanRepository
as first-choice repository, and the
SimpleRegistry as fallback, via the
DefaultRegistry implementation. |
DefaultCamelContext(boolean init) |
DefaultCamelContext(org.apache.camel.spi.Registry registry)
Creates the
ModelCamelContext using the given registry |
| Modifier and Type | Method and Description |
|---|---|
void |
addFaultToleranceConfiguration(String id,
FaultToleranceConfigurationDefinition configuration)
Adds the MicroProfile Fault Tolerance configuration
|
void |
addHystrixConfiguration(String id,
HystrixConfigurationDefinition configuration)
Adds the Hystrix configuration
|
void |
addResilience4jConfiguration(String id,
Resilience4jConfigurationDefinition configuration)
Adds the Resilience4j configuration
|
void |
addRestDefinitions(Collection<RestDefinition> restDefinitions,
boolean addToRoutes)
Adds a collection of rest definitions to the context
|
void |
addRouteDefinition(RouteDefinition routeDefinition)
Add a route definition to the context
Important: Each route in the same
CamelContext must have
an unique route id. |
void |
addRouteDefinitions(Collection<RouteDefinition> routeDefinitions)
Adds a collection of route definitions to the context
Important: Each route in the same
CamelContext must have
an unique route id. |
void |
addServiceCallConfiguration(String serviceName,
ServiceCallConfigurationDefinition configuration)
Adds the service call configuration
|
RouteDefinition |
adviceWith(RouteDefinition definition,
AdviceWithRouteBuilder builder) |
protected void |
bindDataFormats() |
org.apache.camel.Processor |
createErrorHandler(org.apache.camel.Route route,
org.apache.camel.Processor processor) |
protected org.apache.camel.spi.ExecutorServiceManager |
createExecutorServiceManager() |
org.apache.camel.Expression |
createExpression(ExpressionDefinition definition) |
org.apache.camel.Predicate |
createPredicate(ExpressionDefinition definition) |
protected void |
doStartStandardServices() |
Map<String,DataFormatDefinition> |
getDataFormats()
Gets the data formats that can be referenced in the routes.
|
FaultToleranceConfigurationDefinition |
getFaultToleranceConfiguration(String id)
Gets the MicroProfile Fault Tolerance configuration by the given name.
|
HystrixConfigurationDefinition |
getHystrixConfiguration(String id)
Gets the Hystrix configuration by the given name.
|
ProcessorDefinition<?> |
getProcessorDefinition(String id)
Gets the processor definition from any of the routes which with the given
id
|
<T extends ProcessorDefinition<T>> |
getProcessorDefinition(String id,
Class<T> type)
Gets the processor definition from any of the routes which with the given
id
|
Resilience4jConfigurationDefinition |
getResilience4jConfiguration(String id)
Gets the Resilience4j configuration by the given name.
|
List<RestDefinition> |
getRestDefinitions()
Returns a list of the current REST definitions
|
RouteDefinition |
getRouteDefinition(String id)
Gets the route definition with the given id
|
List<RouteDefinition> |
getRouteDefinitions()
Returns a list of the current route definitions
|
Function<RouteDefinition,Boolean> |
getRouteFilter()
Gets the current route filter
|
ServiceCallConfigurationDefinition |
getServiceCallConfiguration(String serviceName)
Gets the service call configuration by the given name.
|
List<TransformerDefinition> |
getTransformers()
Gets the transformers that can be referenced in the routes.
|
List<ValidatorDefinition> |
getValidators()
Gets the validators that can be referenced in the routes.
|
protected boolean |
isStreamCachingInUse() |
void |
registerTransformer(TransformerDefinition def) |
void |
registerValidator(ValidatorDefinition def) |
void |
removeRouteDefinition(RouteDefinition routeDefinition)
Removes a route definition from the context - stopping any previously
running routes if any of them are actively running
|
void |
removeRouteDefinitions(Collection<RouteDefinition> routeDefinitions)
Removes a collection of route definitions from the context - stopping any
previously running routes if any of them are actively running
|
DataFormatDefinition |
resolveDataFormatDefinition(String name)
Resolve a data format definition given its name
|
void |
setDataFormats(Map<String,DataFormatDefinition> dataFormats)
Sets the data formats that can be referenced in the routes.
|
void |
setFaultToleranceConfiguration(FaultToleranceConfigurationDefinition configuration)
Sets the default MicroProfile Fault Tolerance configuration
|
void |
setFaultToleranceConfigurations(List<FaultToleranceConfigurationDefinition> configurations)
Sets the MicroProfile Fault Tolerance configurations
|
void |
setHystrixConfiguration(HystrixConfigurationDefinition configuration)
Sets the default Hystrix configuration
|
void |
setHystrixConfigurations(List<HystrixConfigurationDefinition> configurations)
Sets the Hystrix configurations
|
void |
setResilience4jConfiguration(Resilience4jConfigurationDefinition configuration)
Sets the default Resilience4j configuration
|
void |
setResilience4jConfigurations(List<Resilience4jConfigurationDefinition> configurations)
Sets the Resilience4j configurations
|
void |
setRouteFilter(Function<RouteDefinition,Boolean> filter)
Sets a custom route filter to use for filtering unwanted routes when
routes are added.
|
void |
setRouteFilterPattern(String include,
String exclude)
Used for filtering routes routes matching the given pattern, which
follows the following rules: - Match by route id - Match by route input
endpoint uri The matching is using exact match, by wildcard and regular
expression as documented by
PatternHelper.matchPattern(String, String). |
void |
setServiceCallConfiguration(ServiceCallConfigurationDefinition configuration)
Sets the default service call configuration
|
void |
setServiceCallConfigurations(List<ServiceCallConfigurationDefinition> configurations)
Sets the service call configurations
|
void |
setTransformers(List<TransformerDefinition> transformers)
Sets the transformers that can be referenced in the routes.
|
void |
setValidators(List<ValidatorDefinition> validators)
Sets the validators that can be referenced in the routes.
|
protected void |
shutdownRouteService(org.apache.camel.impl.engine.RouteService routeService) |
void |
startRouteDefinitions()
Start all routes from this model.
|
void |
startRouteDefinitions(List<RouteDefinition> routeDefinitions) |
createAsyncProcessorAwaitManager, createBeanIntrospection, createBeanPostProcessor, createBeanProcessorFactory, createBeanProxyFactory, createCamelContextNameStrategy, createClassResolver, createComponentNameResolver, createComponentResolver, createConfigurerResolver, createDataFormatResolver, createEndpointRegistry, createFactoryFinderResolver, createHeadersMapFactory, createHealthCheckRegistry, createInflightRepository, createInjector, createLanguageResolver, createManagementNameStrategy, createMessageHistoryFactory, createModelJAXBContextFactory, createModelToXMLDumper, createMulticast, createNodeIdFactory, createPackageScanClassResolver, createPackageScanResourceResolver, createProcessorFactory, createPropertiesComponent, createReactiveExecutor, createRegistry, createRestBindingJaxbDataFormatFactory, createRestRegistryFactory, createRouteController, createRuntimeCamelCatalog, createShutdownStrategy, createStreamCachingStrategy, createTracer, createTransformerRegistry, createTypeConverter, createTypeConverterRegistry, createUnitOfWorkFactory, createUuidGenerator, createValidatorRegistry, createXMLRoutesDefinitionLoaderadapt, addComponent, addEndpoint, addEndpointToRegistry, addInterceptStrategy, addLifecycleStrategy, addLogListener, addPrototypeService, addRoute, addRoutePolicyFactory, addRoutes, addService, addService, addService, addStartupListener, close, convertBeanToEndpoint, createConsumerTemplate, createConsumerTemplate, createDataFormat, createEndpoint, createErrorHandlerExecutorService, createFactoryFinder, createFluentProducerTemplate, createFluentProducerTemplate, createProducerTemplate, createProducerTemplate, createRestConfiguration, createRestRegistry, deferStartService, deferStartService, disableJMX, doAddService, doAddService, doAddService, doBuild, doGetEndpoint, doGetEndpoint, doInit, doLifecycleChange, doResume, doShutdownRoute, doStart, doStartCamel, doStartContext, doStartEagerServices, doStop, doSuspend, eagerCreateTypeConverter, forceLazyInitialization, forceStopLazyInitialization, getAnnotationBasedProcessorFactory, getApplicationContextClassLoader, getAsyncProcessorAwaitManager, getBeanIntrospection, getBeanPostProcessor, getBeanProcessorFactory, getBeanProxyFactory, getCamelContextReference, getClassResolver, getComponent, getComponent, getComponent, getComponent, getComponentNameResolver, getComponentNames, getComponentParameterJsonSchema, getComponentResolver, getConfigurerResolver, getDataFormatParameterJsonSchema, getDataFormatResolver, getDebugger, getDefaultFactoryFinder, getDeferServiceFactory, getDelayer, getEipParameterJsonSchema, getEndpoint, getEndpoint, getEndpoint, getEndpoint, getEndpoint, getEndpointKey, getEndpointKey, getEndpointKeyPreNormalized, getEndpointMap, getEndpointRegistry, getEndpoints, getErrorHandlerExecutorService, getErrorHandlerFactory, getExecutorServiceManager, getExtension, getFactoryFinder, getFactoryFinderResolver, getGlobalEndpointConfiguration, getGlobalOption, getGlobalOptions, getHeadersMapFactory, getInflightRepository, getInitialization, getInjector, getInterceptStrategies, getInternalRouteController, getLanguageNames, getLanguageParameterJsonSchema, getLanguageResolver, getLifecycleStrategies, getLogListeners, getManagementMBeanAssembler, getManagementName, getManagementNameStrategy, getManagementStrategy, getMDCLoggingKeysPattern, getMessageHistoryFactory, getModelJAXBContextFactory, getModelToXMLDumper, getName, getNameStrategy, getNodeIdFactory, getOrCreateTypeConverter, getPackageScanClassResolver, getPackageScanResourceResolver, getProcessor, getProcessor, getProcessorFactory, getPropertiesComponent, getPrototypeEndpoint, getPrototypeEndpoint, getReactiveExecutor, getRegistry, getRegistry, getRestBindingJaxbDataFormatFactory, getRestConfiguration, getRestRegistry, getRestRegistryFactory, getRoute, getRouteController, getRoutePolicyFactories, getRoutes, getRouteServices, getRoutesSize, getRouteStartupOrder, getRouteStatus, getRuntimeCamelCatalog, getRuntimeEndpointRegistry, getShutdownRoute, getShutdownRunningTask, getShutdownStrategy, getSSLContextParameters, getStartDate, getStartupListeners, getStreamCachingStrategy, getTracer, getTracingPattern, getTransformerRegistry, getTypeConverter, getTypeConverterRegistry, getUnitOfWorkFactory, getUptime, getUptimeMillis, getUuidGenerator, getValidatorRegistry, getVersion, getXMLRoutesDefinitionLoader, hasComponent, hasEndpoint, hasEndpoint, hasService, hasService, hasServices, init, initEagerMandatoryServices, isAllowUseOriginalMessage, isAutoCreateComponents, isAutoStartup, isBacklogTracing, isCaseInsensitiveHeaders, isDebugging, isEventNotificationApplicable, isJMXDisabled, isLoadTypeConverters, isLogExhaustedMessageBody, isLogMask, isMessageHistory, isSetupRoutes, isStartingRoutes, isStreamCaching, isTracing, isTypeConverterStatisticsEnabled, isUseBreadcrumb, isUseDataType, isUseMDCLogging, isVetoStarted, logRouteState, lookup, normalizeUri, registerEndpointCallback, removeComponent, removeEndpoint, removeEndpoints, removeRoute, removeRoute, removeService, resolveComponent, resolveDataFormat, resolveLanguage, resolvePropertyPlaceholders, resolveTransformer, resolveTransformer, resolveValidator, resumeRoute, resumeRouteService, routeSupportsSuspension, setAllowUseOriginalMessage, setApplicationContextClassLoader, setAsyncProcessorAwaitManager, setAutoCreateComponents, setAutoStartup, setBacklogTracing, setBeanIntrospection, setBeanPostProcessor, setBeanProcessorFactory, setBeanProxyFactory, setCaseInsensitiveHeaders, setClassResolver, setComponentNameResolver, setComponentResolver, setConfigurerResolver, setContextCounter, setDataFormatResolver, setDebugger, setDebugging, setDefaultExtension, setDelayer, setErrorHandlerExecutorService, setErrorHandlerFactory, setEventNotificationApplicable, setExecutorServiceManager, setExtension, setFactoryFinderResolver, setGlobalOptions, setHeadersMapFactory, setInflightRepository, setInitialization, setInjector, setInterceptStrategies, setLanguageResolver, setLoadTypeConverters, setLogExhaustedMessageBody, setLogMask, setManagementMBeanAssembler, setManagementName, setManagementNameStrategy, setManagementStrategy, setMDCLoggingKeysPattern, setMessageHistory, setMessageHistoryFactory, setModelJAXBContextFactory, setModelToXMLDumper, setName, setNameStrategy, setNodeIdFactory, setPackageScanClassResolver, setPackageScanResourceResolver, setProcessorFactory, setPropertiesComponent, setReactiveExecutor, setRegistry, setRestBindingJaxbDataFormatFactory, setRestConfiguration, setRestRegistry, setRestRegistryFactory, setRouteController, setRoutePolicyFactories, setRuntimeCamelCatalog, setRuntimeEndpointRegistry, setShutdownRoute, setShutdownRunningTask, setShutdownStrategy, setSSLContextParameters, setStartingRoutes, setStreamCaching, setStreamCachingStrategy, setTracer, setTracing, setTracingPattern, setTransformerRegistry, setTypeConverter, setTypeConverterRegistry, setTypeConverterStatisticsEnabled, setUnitOfWorkFactory, setupManagement, setupRoutes, setUseBreadcrumb, setUseDataType, setUseMDCLogging, setUuidGenerator, setValidatorRegistry, setXMLRoutesDefinitionLoader, shouldStartRoutes, start, startAllRoutes, startRoute, startRouteService, stopRoute, stopRoute, stopRoute, stopRouteService, stopRouteService, suspendRoute, suspendRoute, suspendRouteService, toStringbuild, doFail, doShutdown, fail, getStatus, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitadapt, addComponent, addEndpoint, addLifecycleStrategy, addPrototypeService, addRoutePolicyFactory, addRoutes, addService, addService, addService, addStartupListener, createConsumerTemplate, createConsumerTemplate, createDataFormat, createFluentProducerTemplate, createFluentProducerTemplate, createProducerTemplate, createProducerTemplate, deferStartService, disableJMX, getApplicationContextClassLoader, getClassResolver, getComponent, getComponent, getComponent, getComponent, getComponentNames, getDebugger, getEndpoint, getEndpoint, getEndpoint, getEndpointMap, getEndpointRegistry, getEndpoints, getExecutorServiceManager, getExtension, getGlobalEndpointConfiguration, getGlobalOption, getGlobalOptions, getInflightRepository, getInjector, getLanguageNames, getLifecycleStrategies, getManagementName, getManagementNameStrategy, getManagementStrategy, getMDCLoggingKeysPattern, getMessageHistoryFactory, getName, getNameStrategy, getProcessor, getProcessor, getPropertiesComponent, getRegistry, getRegistry, getRestConfiguration, getRestRegistry, getRoute, getRouteController, getRoutePolicyFactories, getRoutes, getRoutesSize, getRuntimeEndpointRegistry, getShutdownStrategy, getSSLContextParameters, getStartDate, getStreamCachingStrategy, getTracer, getTransformerRegistry, getTypeConverter, getTypeConverterRegistry, getUptime, getUptimeMillis, getUuidGenerator, getValidatorRegistry, getVersion, hasComponent, hasEndpoint, hasService, hasService, hasServices, isLoadTypeConverters, isTypeConverterStatisticsEnabled, isUseBreadcrumb, isUseDataType, isUseMDCLogging, isVetoStarted, removeComponent, removeEndpoint, removeEndpoints, removeRoute, removeService, resolveDataFormat, resolveLanguage, resolvePropertyPlaceholders, resolveTransformer, resolveTransformer, resolveValidator, setApplicationContextClassLoader, setClassResolver, setDebugger, setExecutorServiceManager, setExtension, setGlobalOptions, setInflightRepository, setInjector, setLoadTypeConverters, setManagementName, setManagementNameStrategy, setManagementStrategy, setMDCLoggingKeysPattern, setMessageHistoryFactory, setNameStrategy, setPropertiesComponent, setRestConfiguration, setRestRegistry, setRouteController, setRuntimeEndpointRegistry, setShutdownStrategy, setSSLContextParameters, setStreamCachingStrategy, setTracer, setTypeConverterRegistry, setTypeConverterStatisticsEnabled, setUseBreadcrumb, setUseDataType, setUseMDCLogging, setUuidGeneratorbuild, close, getStatus, init, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, resume, shutdown, start, stop, suspendgetDelayer, getShutdownRoute, getShutdownRunningTask, getTracingPattern, isAllowUseOriginalMessage, isAutoStartup, isBacklogTracing, isCaseInsensitiveHeaders, isDebugging, isLogExhaustedMessageBody, isLogMask, isMessageHistory, isStreamCaching, isTracing, setAllowUseOriginalMessage, setAutoStartup, setBacklogTracing, setCaseInsensitiveHeaders, setDebugging, setDelayer, setLogExhaustedMessageBody, setLogMask, setMessageHistory, setShutdownRoute, setShutdownRunningTask, setStreamCaching, setTracing, setTracingPatternpublic DefaultCamelContext()
ModelCamelContext using
DefaultRegistry as registry.
Use one of the other constructors to force use an explicit registry.public DefaultCamelContext(org.apache.camel.spi.BeanRepository repository)
CamelContext using the given BeanRepository
as first-choice repository, and the
SimpleRegistry as fallback, via the
DefaultRegistry implementation.repository - the bean repository.public DefaultCamelContext(org.apache.camel.spi.Registry registry)
ModelCamelContext using the given registryregistry - the registrypublic DefaultCamelContext(boolean init)
public List<RouteDefinition> getRouteDefinitions()
ModelgetRouteDefinitions in interface Modelpublic RouteDefinition getRouteDefinition(String id)
ModelgetRouteDefinition in interface Modelid - id of the routepublic void addRouteDefinitions(Collection<RouteDefinition> routeDefinitions) throws Exception
ModelCamelContext must have
an unique route id. If you use the API from CamelContext
or Model to add routes, then any new routes which has a route id
that matches an old route, then the old route is replaced by the new
route.addRouteDefinitions in interface ModelrouteDefinitions - the route(s) definition to addException - if the route definitions could not be added for
whatever reasonpublic void addRouteDefinition(RouteDefinition routeDefinition) throws Exception
ModelCamelContext must have
an unique route id. If you use the API from CamelContext
or Model to add routes, then any new routes which has a route id
that matches an old route, then the old route is replaced by the new
route.addRouteDefinition in interface ModelrouteDefinition - the route definition to addException - if the route definition could not be added for whatever
reasonpublic void removeRouteDefinitions(Collection<RouteDefinition> routeDefinitions) throws Exception
ModelremoveRouteDefinitions in interface ModelrouteDefinitions - route(s) definitions to removeException - if the route definitions could not be removed for
whatever reasonpublic void removeRouteDefinition(RouteDefinition routeDefinition) throws Exception
ModelremoveRouteDefinition in interface ModelrouteDefinition - route definition to removeException - if the route definition could not be removed for
whatever reasonpublic List<RestDefinition> getRestDefinitions()
ModelgetRestDefinitions in interface Modelpublic void addRestDefinitions(Collection<RestDefinition> restDefinitions, boolean addToRoutes) throws Exception
ModeladdRestDefinitions in interface ModelrestDefinitions - the rest(s) definition to addaddToRoutes - whether the rests should also automatically be added
as routesException - if the rest definitions could not be created for
whatever reasonpublic void setDataFormats(Map<String,DataFormatDefinition> dataFormats)
ModelsetDataFormats in interface ModeldataFormats - the data formatspublic Map<String,DataFormatDefinition> getDataFormats()
ModelgetDataFormats in interface Modelpublic DataFormatDefinition resolveDataFormatDefinition(String name)
ModelresolveDataFormatDefinition in interface Modelname - the data format definition name or a reference to it in the
Registrypublic ProcessorDefinition<?> getProcessorDefinition(String id)
ModelgetProcessorDefinition in interface Modelid - id of the processor definitionpublic <T extends ProcessorDefinition<T>> T getProcessorDefinition(String id, Class<T> type)
ModelgetProcessorDefinition in interface Modelid - id of the processor definitiontype - the processor definition typepublic void setValidators(List<ValidatorDefinition> validators)
ModelsetValidators in interface Modelvalidators - the validatorspublic HystrixConfigurationDefinition getHystrixConfiguration(String id)
ModelgetHystrixConfiguration in interface Modelid - id of the configuration, or null to return the default
configurationpublic void setHystrixConfiguration(HystrixConfigurationDefinition configuration)
ModelsetHystrixConfiguration in interface Modelconfiguration - the configurationpublic void setHystrixConfigurations(List<HystrixConfigurationDefinition> configurations)
ModelsetHystrixConfigurations in interface Modelconfigurations - the configuration listpublic void addHystrixConfiguration(String id, HystrixConfigurationDefinition configuration)
ModeladdHystrixConfiguration in interface Modelid - name of the configurationconfiguration - the configurationpublic Resilience4jConfigurationDefinition getResilience4jConfiguration(String id)
ModelgetResilience4jConfiguration in interface Modelid - id of the configuration, or null to return the default
configurationpublic void setResilience4jConfiguration(Resilience4jConfigurationDefinition configuration)
ModelsetResilience4jConfiguration in interface Modelconfiguration - the configurationpublic void setResilience4jConfigurations(List<Resilience4jConfigurationDefinition> configurations)
ModelsetResilience4jConfigurations in interface Modelconfigurations - the configuration listpublic void addResilience4jConfiguration(String id, Resilience4jConfigurationDefinition configuration)
ModeladdResilience4jConfiguration in interface Modelid - name of the configurationconfiguration - the configurationpublic FaultToleranceConfigurationDefinition getFaultToleranceConfiguration(String id)
ModelgetFaultToleranceConfiguration in interface Modelid - id of the configuration, or null to return the default
configurationpublic void setFaultToleranceConfiguration(FaultToleranceConfigurationDefinition configuration)
ModelsetFaultToleranceConfiguration in interface Modelconfiguration - the configurationpublic void setFaultToleranceConfigurations(List<FaultToleranceConfigurationDefinition> configurations)
ModelsetFaultToleranceConfigurations in interface Modelconfigurations - the configuration listpublic void addFaultToleranceConfiguration(String id, FaultToleranceConfigurationDefinition configuration)
ModeladdFaultToleranceConfiguration in interface Modelid - name of the configurationconfiguration - the configurationpublic List<ValidatorDefinition> getValidators()
ModelgetValidators in interface Modelpublic void setTransformers(List<TransformerDefinition> transformers)
ModelsetTransformers in interface Modeltransformers - the transformerspublic List<TransformerDefinition> getTransformers()
ModelgetTransformers in interface Modelpublic ServiceCallConfigurationDefinition getServiceCallConfiguration(String serviceName)
ModelgetServiceCallConfiguration in interface ModelserviceName - name of service, or null to return the
default configurationpublic void setServiceCallConfiguration(ServiceCallConfigurationDefinition configuration)
ModelsetServiceCallConfiguration in interface Modelconfiguration - the configurationpublic void setServiceCallConfigurations(List<ServiceCallConfigurationDefinition> configurations)
ModelsetServiceCallConfigurations in interface Modelconfigurations - the configuration listpublic void addServiceCallConfiguration(String serviceName, ServiceCallConfigurationDefinition configuration)
ModeladdServiceCallConfiguration in interface ModelserviceName - name of the serviceconfiguration - the configurationpublic void setRouteFilterPattern(String include, String exclude)
ModelPatternHelper.matchPattern(String, String). For example to only
include routes which starts with foo in their route id's, use:
include=foo* And to exclude routes which starts from JMS endpoints,
use: exclude=jms:* Exclude takes precedence over include.setRouteFilterPattern in interface Modelinclude - the include patternexclude - the exclude patternpublic void setRouteFilter(Function<RouteDefinition,Boolean> filter)
ModelsetRouteFilter in interface Modelfilter - the filterpublic Function<RouteDefinition,Boolean> getRouteFilter()
ModelgetRouteFilter in interface Modelprotected void doStartStandardServices()
doStartStandardServices in class org.apache.camel.impl.engine.AbstractCamelContextprotected void bindDataFormats() throws Exception
bindDataFormats in class org.apache.camel.impl.engine.AbstractCamelContextExceptionprotected void shutdownRouteService(org.apache.camel.impl.engine.RouteService routeService) throws Exception
shutdownRouteService in class org.apache.camel.impl.engine.AbstractCamelContextExceptionprotected boolean isStreamCachingInUse() throws Exception
isStreamCachingInUse in class org.apache.camel.impl.engine.AbstractCamelContextExceptionpublic void startRouteDefinitions() throws Exception
ModelCamelContextstartRouteDefinitions in interface ModelCamelContextstartRouteDefinitions in class org.apache.camel.impl.engine.AbstractCamelContextExceptionpublic void startRouteDefinitions(List<RouteDefinition> routeDefinitions) throws Exception
startRouteDefinitions in interface ModelCamelContextExceptionprotected org.apache.camel.spi.ExecutorServiceManager createExecutorServiceManager()
createExecutorServiceManager in class org.apache.camel.impl.engine.SimpleCamelContextpublic org.apache.camel.Processor createErrorHandler(org.apache.camel.Route route, org.apache.camel.Processor processor) throws Exception
createErrorHandler in interface org.apache.camel.ExtendedCamelContextcreateErrorHandler in class org.apache.camel.impl.engine.SimpleCamelContextExceptionpublic org.apache.camel.Expression createExpression(ExpressionDefinition definition)
createExpression in interface ModelCamelContextpublic org.apache.camel.Predicate createPredicate(ExpressionDefinition definition)
createPredicate in interface ModelCamelContextpublic RouteDefinition adviceWith(RouteDefinition definition, AdviceWithRouteBuilder builder) throws Exception
adviceWith in interface ModelCamelContextExceptionpublic void registerValidator(ValidatorDefinition def)
registerValidator in interface ModelCamelContextpublic void registerTransformer(TransformerDefinition def)
registerTransformer in interface ModelCamelContextApache Camel