public interface ExtendedCamelContext extends CamelContext
CamelContext
which contains the methods and APIs that are not primary intended for Camel end users
but for SPI, custom components, or more advanced used-cases with Camel.Modifier and Type | Method and Description |
---|---|
void |
addBootstrap(BootstrapCloseable bootstrap)
Adds a
BootstrapCloseable task. |
void |
addInterceptStrategy(InterceptStrategy interceptStrategy)
Adds the given interceptor strategy
|
void |
addLogListener(LogListener listener)
Adds a
LogListener . |
void |
addRoute(Route route)
Internal API for adding routes.
|
Processor |
createErrorHandler(Route route,
Processor processor)
Internal API for creating error handler.
|
void |
disposeModel()
Danger!!! This will dispose the route model from the
CamelContext which is used for lightweight mode. |
AnnotationBasedProcessorFactory |
getAnnotationBasedProcessorFactory()
Gets the
AnnotationBasedProcessorFactory to use. |
AsyncProcessorAwaitManager |
getAsyncProcessorAwaitManager()
Gets the
AsyncProcessor await manager. |
BeanIntrospection |
getBeanIntrospection()
Gets the
BeanIntrospection |
CamelBeanPostProcessor |
getBeanPostProcessor()
Returns the bean post processor used to do any bean customization.
|
BeanProcessorFactory |
getBeanProcessorFactory()
Gets the
BeanProcessorFactory to use. |
BeanProxyFactory |
getBeanProxyFactory()
Gets the
BeanProxyFactory to use. |
ConfigurerResolver |
getBootstrapConfigurerResolver()
Gets the bootstrap
ConfigurerResolver to use. |
FactoryFinder |
getBootstrapFactoryFinder()
Gets the bootstrap FactoryFinder which will be used for the loading the factory class from META-INF.
|
FactoryFinder |
getBootstrapFactoryFinder(String path)
Gets the bootstrap FactoryFinder which will be used for the loading the factory class from META-INF in the given
path.
|
ComponentNameResolver |
getComponentNameResolver()
Gets the
ComponentNameResolver to use. |
ComponentResolver |
getComponentResolver()
Gets the
ComponentResolver to use. |
ConfigurerResolver |
getConfigurerResolver()
Gets the
ConfigurerResolver to use. |
DataFormatResolver |
getDataFormatResolver()
Gets the current data format resolver
|
FactoryFinder |
getDefaultFactoryFinder()
Gets the default FactoryFinder which will be used for the loading the factory class from META-INF
|
DeferServiceFactory |
getDeferServiceFactory()
Gets the
DeferServiceFactory to use. |
Endpoint |
getEndpoint(NormalizedEndpointUri uri)
Resolves the given name to an
Endpoint of the specified type. |
Endpoint |
getEndpoint(NormalizedEndpointUri uri,
Map<String,Object> parameters)
Resolves the given name to an
Endpoint of the specified type. |
EndpointUriFactory |
getEndpointUriFactory(String scheme)
Gets the
EndpointUriFactory for the given component name. |
ScheduledExecutorService |
getErrorHandlerExecutorService()
Gets the default shared thread pool for error handlers which leverages this for asynchronous redelivery tasks.
|
ErrorHandlerFactory |
getErrorHandlerFactory()
Gets the default error handler builder which is inherited by the routes
|
ExchangeFactory |
getExchangeFactory()
Gets the exchange factory to use.
|
ExchangeFactoryManager |
getExchangeFactoryManager()
Gets the exchange factory manager to use.
|
FactoryFinder |
getFactoryFinder(String path)
Gets the FactoryFinder which will be used for the loading the factory class from META-INF in the given path
|
FactoryFinderResolver |
getFactoryFinderResolver()
Gets the factory finder resolver to use
|
HeadersMapFactory |
getHeadersMapFactory()
Gets the
HeadersMapFactory to use. |
InterceptEndpointFactory |
getInterceptEndpointFactory()
Gets the current
InterceptEndpointFactory |
List<InterceptStrategy> |
getInterceptStrategies()
Gets the interceptor strategies
|
InternalProcessorFactory |
getInternalProcessorFactory()
Gets the current
InternalProcessorFactory |
RouteController |
getInternalRouteController()
Internal
RouteController that are only used internally by Camel to perform basic route operations. |
LanguageResolver |
getLanguageResolver()
Gets the
LanguageResolver to use. |
Set<LogListener> |
getLogListeners()
Gets a list of
LogListener (can be null if empty). |
ManagementMBeanAssembler |
getManagementMBeanAssembler()
Returns the management mbean assembler
|
ModelJAXBContextFactory |
getModelJAXBContextFactory()
Returns the JAXB Context factory used to create Models.
|
ModelToXMLDumper |
getModelToXMLDumper()
Gets the
ModelToXMLDumper to be used. |
NodeIdFactory |
getNodeIdFactory()
Gets the node id factory
|
PackageScanClassResolver |
getPackageScanClassResolver()
Returns the package scanning class resolver
|
PackageScanResourceResolver |
getPackageScanResourceResolver()
Returns the package scanning resource resolver
|
ProcessorExchangeFactory |
getProcessorExchangeFactory()
Gets the processor exchange factory to use.
|
ProcessorFactory |
getProcessorFactory()
Gets the current
ProcessorFactory |
Endpoint |
getPrototypeEndpoint(NormalizedEndpointUri uri)
Resolves the given name to an
Endpoint of the specified type (scope is prototype). |
Endpoint |
getPrototypeEndpoint(String uri)
Resolves the given name to an
Endpoint of the specified type (scope is prototype). |
ReactiveExecutor |
getReactiveExecutor()
Gets the
ReactiveExecutor to use. |
ResourceLoader |
getResourceLoader()
Gets the
ResourceLoader to be used. |
RestBindingJaxbDataFormatFactory |
getRestBindingJaxbDataFormatFactory()
Gets the
RestBindingJaxbDataFormatFactory to be used. |
RouteFactory |
getRouteFactory()
Gets the current
RouteFactory |
RoutesLoader |
getRoutesLoader()
Gets the
RoutesLoader to be used. |
List<RouteStartupOrder> |
getRouteStartupOrder()
Returns the order in which the route inputs was started.
|
RuntimeCamelCatalog |
getRuntimeCamelCatalog()
Gets the
RuntimeCamelCatalog if available on the classpath. |
List<Service> |
getServices()
Returns an unmodifiable list of the services registered currently in this
CamelContext . |
StartupStepRecorder |
getStartupStepRecorder()
Gets the
StartupStepRecorder to use. |
String |
getTestExcludeRoutes()
Used during unit-testing where its possible to specify a set of routes to exclude from discovery
|
UnitOfWorkFactory |
getUnitOfWorkFactory()
Gets the
UnitOfWorkFactory to use. |
UriFactoryResolver |
getUriFactoryResolver()
Gets the
UriFactoryResolver to use. |
XMLRoutesDefinitionLoader |
getXMLRoutesDefinitionLoader()
Deprecated.
|
Endpoint |
hasEndpoint(NormalizedEndpointUri uri)
Is the given endpoint already registered in the
EndpointRegistry |
boolean |
isEventNotificationApplicable()
Whether exchange event notification is applicable (possible).
|
boolean |
isLightweight()
Whether to run in lightweight mode which triggers some optimizations and memory reduction.
|
boolean |
isSetupRoutes()
Indicates whether current thread is setting up route(s) as part of starting Camel from spring/blueprint.
|
NormalizedEndpointUri |
normalizeUri(String uri)
Normalizes the given uri.
|
void |
registerEndpointCallback(EndpointStrategy strategy)
Registers a
callback to allow you to do custom logic when an
Endpoint is about to be registered to the EndpointRegistry . |
void |
removeRoute(Route route)
Internal API for removing routes.
|
String |
resolvePropertyPlaceholders(String text,
boolean keepUnresolvedOptional)
Parses the given text and resolve any property placeholders - using {{key}}.
|
void |
setAnnotationBasedProcessorFactory(AnnotationBasedProcessorFactory annotationBasedProcessorFactory)
Sets a custom
AnnotationBasedProcessorFactory to use. |
void |
setAsyncProcessorAwaitManager(AsyncProcessorAwaitManager manager)
Sets a custom
AsyncProcessor await manager. |
void |
setBeanIntrospection(BeanIntrospection beanIntrospection)
Sets a custom
BeanIntrospection . |
void |
setBootstrapConfigurerResolver(ConfigurerResolver configurerResolver)
sets the bootstrap
ConfigurerResolver to use. |
void |
setBootstrapFactoryFinder(FactoryFinder factoryFinder)
Sets the bootstrap FactoryFinder which will be used for the loading the factory class from META-INF.
|
void |
setComponentNameResolver(ComponentNameResolver componentNameResolver)
Sets a custom
ComponentNameResolver to use. |
void |
setComponentResolver(ComponentResolver componentResolver)
Sets a custom
ComponentResolver to use. |
void |
setConfigurerResolver(ConfigurerResolver configurerResolver)
Sets the
ConfigurerResolver to use. |
void |
setDataFormatResolver(DataFormatResolver dataFormatResolver)
Sets a custom data format resolver
|
void |
setDeferServiceFactory(DeferServiceFactory deferServiceFactory)
Sets a custom
DeferServiceFactory to use. |
void |
setErrorHandlerFactory(ErrorHandlerFactory errorHandlerFactory)
Sets the default error handler builder which is inherited by the routes
|
void |
setEventNotificationApplicable(boolean eventNotificationApplicable)
Used as internal optimization in Camel to flag whether exchange event notification is applicable or not.
|
void |
setExchangeFactory(ExchangeFactory exchangeFactory)
Sets a custom exchange factory to use.
|
void |
setExchangeFactoryManager(ExchangeFactoryManager exchangeFactoryManager)
Sets a custom exchange factory manager to use.
|
void |
setFactoryFinderResolver(FactoryFinderResolver resolver)
Sets the factory finder resolver to use.
|
void |
setHeadersMapFactory(HeadersMapFactory factory)
Sets a custom
HeadersMapFactory to be used. |
void |
setInterceptEndpointFactory(InterceptEndpointFactory interceptEndpointFactory)
Sets a custom
InterceptEndpointFactory |
void |
setInternalProcessorFactory(InternalProcessorFactory internalProcessorFactory)
Sets a custom
InternalProcessorFactory |
void |
setLanguageResolver(LanguageResolver languageResolver)
Sets a custom
LanguageResolver to use. |
void |
setLightweight(boolean lightweight)
Whether to run in lightweight mode which triggers some optimizations and memory reduction.
|
void |
setModelJAXBContextFactory(ModelJAXBContextFactory modelJAXBContextFactory)
Sets a custom JAXB Context factory to be used
|
void |
setModelToXMLDumper(ModelToXMLDumper modelToXMLDumper)
Sets a custom
ModelToXMLDumper to be used. |
void |
setName(String name)
Sets the name (id) of the this context.
|
void |
setNodeIdFactory(NodeIdFactory factory)
Uses a custom node id factory when generating auto assigned ids to the nodes in the route definitions
|
void |
setPackageScanClassResolver(PackageScanClassResolver resolver)
Sets the package scanning class resolver to use
|
void |
setPackageScanResourceResolver(PackageScanResourceResolver resolver)
Sets the package scanning resource resolver to use
|
void |
setProcessorExchangeFactory(ProcessorExchangeFactory processorExchangeFactory)
Sets a custom processor exchange factory to use.
|
void |
setProcessorFactory(ProcessorFactory processorFactory)
Sets a custom
ProcessorFactory |
void |
setReactiveExecutor(ReactiveExecutor reactiveExecutor)
Sets a custom
ReactiveExecutor to be used. |
void |
setRegistry(Registry registry)
Sets the registry Camel should use for looking up beans by name or type.
|
void |
setResourceLoader(ResourceLoader resourceLoader)
Sets a custom
ResourceLoader to be used. |
void |
setRestBindingJaxbDataFormatFactory(RestBindingJaxbDataFormatFactory restBindingJaxbDataFormatFactory)
Sets a custom
RestBindingJaxbDataFormatFactory to be used. |
void |
setRouteFactory(RouteFactory routeFactory)
Sets a custom
RouteFactory |
void |
setRoutesLoader(RoutesLoader routesLoader)
Sets a custom
RoutesLoader to be used. |
void |
setRuntimeCamelCatalog(RuntimeCamelCatalog runtimeCamelCatalog)
Sets the
RuntimeCamelCatalog to use. |
void |
setStartupStepRecorder(StartupStepRecorder startupStepRecorder)
Sets the
StartupStepRecorder to use. |
void |
setUnitOfWorkFactory(UnitOfWorkFactory unitOfWorkFactory)
Sets a custom
UnitOfWorkFactory to use. |
void |
setupManagement(Map<String,Object> options)
Setup management according to whether JMX is enabled or disabled.
|
void |
setupRoutes(boolean done)
Method to signal to
CamelContext that the process to initialize setup routes is in progress. |
void |
setUriFactoryResolver(UriFactoryResolver uriFactoryResolver)
Sets the
UriFactoryResolver to use. |
void |
setXMLRoutesDefinitionLoader(XMLRoutesDefinitionLoader xmlRoutesDefinitionLoader)
Sets a custom
XMLRoutesDefinitionLoader to be used. |
adapt, addComponent, addEndpoint, addLifecycleStrategy, addPrototypeService, addRouteFromTemplate, addRouteFromTemplate, 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, getStartupSummaryLevel, getStreamCachingStrategy, getTracer, getTransformerRegistry, getTypeConverter, getTypeConverterRegistry, getUptime, getUptimeMillis, getUuidGenerator, getValidatorRegistry, getVersion, hasComponent, hasEndpoint, hasService, hasService, hasServices, isDumpRoutes, isLoadTypeConverters, isTypeConverterStatisticsEnabled, isUseBreadcrumb, isUseDataType, isUseMDCLogging, isVetoStarted, removeComponent, removeEndpoint, removeEndpoints, removeRoute, removeService, resolveDataFormat, resolveLanguage, resolvePropertyPlaceholders, resolveTransformer, resolveTransformer, resolveValidator, setApplicationContextClassLoader, setClassResolver, setDebugger, setDumpRoutes, setExecutorServiceManager, setExtension, setGlobalOptions, setInflightRepository, setInjector, setLoadTypeConverters, setManagementName, setManagementNameStrategy, setManagementStrategy, setMDCLoggingKeysPattern, setMessageHistoryFactory, setNameStrategy, setPropertiesComponent, setRestConfiguration, setRestRegistry, setRouteController, setRuntimeEndpointRegistry, setShutdownStrategy, setSSLContextParameters, setStartupSummaryLevel, setStreamCachingStrategy, setTracer, setTypeConverterRegistry, setTypeConverterStatisticsEnabled, setUseBreadcrumb, setUseDataType, setUseMDCLogging, setUuidGenerator
build, close, getStatus, init, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, resume, shutdown, start, stop, suspend
getDelayer, getShutdownRoute, getShutdownRunningTask, getTracingPattern, isAllowUseOriginalMessage, isAutoStartup, isAutowiredEnabled, isBacklogTracing, isCaseInsensitiveHeaders, isDebugging, isLogExhaustedMessageBody, isLogMask, isMessageHistory, isStreamCaching, isTracing, setAllowUseOriginalMessage, setAutoStartup, setAutowiredEnabled, setBacklogTracing, setCaseInsensitiveHeaders, setDebugging, setDelayer, setLogExhaustedMessageBody, setLogMask, setMessageHistory, setShutdownRoute, setShutdownRunningTask, setStreamCaching, setTracing, setTracingPattern
void setName(String name)
name
- the namevoid setRegistry(Registry registry)
registry
- the registry such as DefaultRegistry orvoid setupRoutes(boolean done)
CamelContext
that the process to initialize setup routes is in progress.done
- false to start the process, call again with true to signal its done.isSetupRoutes()
boolean isSetupRoutes()
LifecycleStrategy
or the likes, in case they need to react differently.
As the startup procedure of CamelContext
is slightly different when using plain Java versus Spring or
Blueprint, then we need to know when Spring/Blueprint is setting up the routes, which can happen after the
CamelContext
itself is in started state, due the asynchronous event nature of especially Blueprint.void registerEndpointCallback(EndpointStrategy strategy)
callback
to allow you to do custom logic when an
Endpoint
is about to be registered to the EndpointRegistry
.
When a callback is registered it will be executed on the already registered endpoints allowing you to catch-upstrategy
- callback to be invokedEndpoint getPrototypeEndpoint(String uri)
Endpoint
of the specified type (scope is prototype). If the name has a
singleton endpoint registered, then the singleton is returned. Otherwise, a new Endpoint
is created.
The endpoint is NOT registered in the EndpointRegistry
as its prototype scoped, and
therefore expected to be short lived and discarded after use (you must stop and shutdown the endpoint when no
longer in use).uri
- the URI of the endpointCamelContext.getEndpoint(String)
Endpoint getPrototypeEndpoint(NormalizedEndpointUri uri)
Endpoint
of the specified type (scope is prototype). If the name has a
singleton endpoint registered, then the singleton is returned. Otherwise, a new Endpoint
is created.
The endpoint is NOT registered in the EndpointRegistry
as its prototype scoped, and
therefore expected to be short lived and discarded after use (you must stop and shutdown the endpoint when no
longer in use).uri
- the URI of the endpointCamelContext.getEndpoint(String)
Endpoint hasEndpoint(NormalizedEndpointUri uri)
EndpointRegistry
uri
- the URI of the endpointEndpoint getEndpoint(NormalizedEndpointUri uri)
Endpoint
of the specified type. If the name has a singleton endpoint
registered, then the singleton is returned. Otherwise, a new Endpoint
is created and registered in the
EndpointRegistry
.uri
- the URI of the endpointgetPrototypeEndpoint(String)
Endpoint getEndpoint(NormalizedEndpointUri uri, Map<String,Object> parameters)
Endpoint
of the specified type. If the name has a singleton endpoint
registered, then the singleton is returned. Otherwise, a new Endpoint
is created and registered in the
EndpointRegistry
.uri
- the URI of the endpointparameters
- the parameters to customize the endpointgetPrototypeEndpoint(String)
NormalizedEndpointUri normalizeUri(String uri)
uri
- the uriList<RouteStartupOrder> getRouteStartupOrder()
void addBootstrap(BootstrapCloseable bootstrap)
BootstrapCloseable
task.List<Service> getServices()
CamelContext
.ExchangeFactory getExchangeFactory()
void setExchangeFactory(ExchangeFactory exchangeFactory)
ExchangeFactoryManager getExchangeFactoryManager()
void setExchangeFactoryManager(ExchangeFactoryManager exchangeFactoryManager)
ProcessorExchangeFactory getProcessorExchangeFactory()
void setProcessorExchangeFactory(ProcessorExchangeFactory processorExchangeFactory)
CamelBeanPostProcessor getBeanPostProcessor()
ManagementMBeanAssembler getManagementMBeanAssembler()
ErrorHandlerFactory getErrorHandlerFactory()
void setErrorHandlerFactory(ErrorHandlerFactory errorHandlerFactory)
errorHandlerFactory
- the builderNodeIdFactory getNodeIdFactory()
void setNodeIdFactory(NodeIdFactory factory)
factory
- custom factory to useComponentResolver getComponentResolver()
ComponentResolver
to use.void setComponentResolver(ComponentResolver componentResolver)
ComponentResolver
to use.ComponentNameResolver getComponentNameResolver()
ComponentNameResolver
to use.void setComponentNameResolver(ComponentNameResolver componentNameResolver)
ComponentNameResolver
to use.LanguageResolver getLanguageResolver()
LanguageResolver
to use.void setLanguageResolver(LanguageResolver languageResolver)
LanguageResolver
to use.DataFormatResolver getDataFormatResolver()
void setDataFormatResolver(DataFormatResolver dataFormatResolver)
dataFormatResolver
- the resolverPackageScanClassResolver getPackageScanClassResolver()
void setPackageScanClassResolver(PackageScanClassResolver resolver)
resolver
- the resolverPackageScanResourceResolver getPackageScanResourceResolver()
void setPackageScanResourceResolver(PackageScanResourceResolver resolver)
resolver
- the resolverFactoryFinder getDefaultFactoryFinder()
getBootstrapFactoryFinder()
FactoryFinder getBootstrapFactoryFinder()
getDefaultFactoryFinder()
void setBootstrapFactoryFinder(FactoryFinder factoryFinder)
getDefaultFactoryFinder()
FactoryFinder getBootstrapFactoryFinder(String path)
path
- the META-INF pathgetDefaultFactoryFinder()
ConfigurerResolver getBootstrapConfigurerResolver()
ConfigurerResolver
to use. This bootstrap resolver is only intended to be used during
bootstrap (starting) CamelContext.void setBootstrapConfigurerResolver(ConfigurerResolver configurerResolver)
ConfigurerResolver
to use. This bootstrap resolver is only intended to be used during
bootstrap (starting) CamelContext.FactoryFinder getFactoryFinder(String path)
path
- the META-INF pathFactoryFinderResolver getFactoryFinderResolver()
void setFactoryFinderResolver(FactoryFinderResolver resolver)
resolver
- the factory finder resolverProcessorFactory getProcessorFactory()
ProcessorFactory
void setProcessorFactory(ProcessorFactory processorFactory)
ProcessorFactory
processorFactory
- the custom factoryInternalProcessorFactory getInternalProcessorFactory()
InternalProcessorFactory
void setInternalProcessorFactory(InternalProcessorFactory internalProcessorFactory)
InternalProcessorFactory
internalProcessorFactory
- the custom factoryInterceptEndpointFactory getInterceptEndpointFactory()
InterceptEndpointFactory
void setInterceptEndpointFactory(InterceptEndpointFactory interceptEndpointFactory)
InterceptEndpointFactory
interceptEndpointFactory
- the custom factoryRouteFactory getRouteFactory()
RouteFactory
void setRouteFactory(RouteFactory routeFactory)
RouteFactory
routeFactory
- the custom factoryModelJAXBContextFactory getModelJAXBContextFactory()
void setModelJAXBContextFactory(ModelJAXBContextFactory modelJAXBContextFactory)
modelJAXBContextFactory
- a JAXB Context factoryDeferServiceFactory getDeferServiceFactory()
DeferServiceFactory
to use.void setDeferServiceFactory(DeferServiceFactory deferServiceFactory)
DeferServiceFactory
to use.UnitOfWorkFactory getUnitOfWorkFactory()
UnitOfWorkFactory
to use.void setUnitOfWorkFactory(UnitOfWorkFactory unitOfWorkFactory)
UnitOfWorkFactory
to use.AnnotationBasedProcessorFactory getAnnotationBasedProcessorFactory()
AnnotationBasedProcessorFactory
to use.void setAnnotationBasedProcessorFactory(AnnotationBasedProcessorFactory annotationBasedProcessorFactory)
AnnotationBasedProcessorFactory
to use.BeanProxyFactory getBeanProxyFactory()
BeanProxyFactory
to use.BeanProcessorFactory getBeanProcessorFactory()
BeanProcessorFactory
to use.ScheduledExecutorService getErrorHandlerExecutorService()
void addInterceptStrategy(InterceptStrategy interceptStrategy)
interceptStrategy
- the strategyList<InterceptStrategy> getInterceptStrategies()
void setupManagement(Map<String,Object> options)
options
- optional parameters to configure ManagementAgent
.Set<LogListener> getLogListeners()
LogListener
(can be null if empty).void addLogListener(LogListener listener)
LogListener
.AsyncProcessorAwaitManager getAsyncProcessorAwaitManager()
AsyncProcessor
await manager.void setAsyncProcessorAwaitManager(AsyncProcessorAwaitManager manager)
AsyncProcessor
await manager.manager
- the managerBeanIntrospection getBeanIntrospection()
BeanIntrospection
void setBeanIntrospection(BeanIntrospection beanIntrospection)
BeanIntrospection
.HeadersMapFactory getHeadersMapFactory()
HeadersMapFactory
to use.void setHeadersMapFactory(HeadersMapFactory factory)
HeadersMapFactory
to be used.ReactiveExecutor getReactiveExecutor()
ReactiveExecutor
to use.void setReactiveExecutor(ReactiveExecutor reactiveExecutor)
ReactiveExecutor
to be used.boolean isEventNotificationApplicable()
void setEventNotificationApplicable(boolean eventNotificationApplicable)
@Deprecated XMLRoutesDefinitionLoader getXMLRoutesDefinitionLoader()
getRoutesLoader()
XMLRoutesDefinitionLoader
to be used.void setXMLRoutesDefinitionLoader(XMLRoutesDefinitionLoader xmlRoutesDefinitionLoader)
XMLRoutesDefinitionLoader
to be used.RoutesLoader getRoutesLoader()
RoutesLoader
to be used.void setRoutesLoader(RoutesLoader routesLoader)
RoutesLoader
to be used.ResourceLoader getResourceLoader()
ResourceLoader
to be used.void setResourceLoader(ResourceLoader resourceLoader)
ResourceLoader
to be used.ModelToXMLDumper getModelToXMLDumper()
ModelToXMLDumper
to be used.void setModelToXMLDumper(ModelToXMLDumper modelToXMLDumper)
ModelToXMLDumper
to be used.RestBindingJaxbDataFormatFactory getRestBindingJaxbDataFormatFactory()
RestBindingJaxbDataFormatFactory
to be used.void setRestBindingJaxbDataFormatFactory(RestBindingJaxbDataFormatFactory restBindingJaxbDataFormatFactory)
RestBindingJaxbDataFormatFactory
to be used.RuntimeCamelCatalog getRuntimeCamelCatalog()
RuntimeCamelCatalog
if available on the classpath.void setRuntimeCamelCatalog(RuntimeCamelCatalog runtimeCamelCatalog)
RuntimeCamelCatalog
to use.ConfigurerResolver getConfigurerResolver()
ConfigurerResolver
to use.void setConfigurerResolver(ConfigurerResolver configurerResolver)
ConfigurerResolver
to use.UriFactoryResolver getUriFactoryResolver()
UriFactoryResolver
to use.void setUriFactoryResolver(UriFactoryResolver uriFactoryResolver)
UriFactoryResolver
to use.RouteController getInternalRouteController()
RouteController
that are only used internally by Camel to perform basic route operations. Do not
use this as end user.EndpointUriFactory getEndpointUriFactory(String scheme)
EndpointUriFactory
for the given component name.StartupStepRecorder getStartupStepRecorder()
StartupStepRecorder
to use.void setStartupStepRecorder(StartupStepRecorder startupStepRecorder)
StartupStepRecorder
to use.void addRoute(Route route)
void removeRoute(Route route)
Processor createErrorHandler(Route route, Processor processor) throws Exception
Exception
boolean isLightweight()
void setLightweight(boolean lightweight)
void disposeModel()
CamelContext
which is used for lightweight mode.
This means afterwards no new routes can be dynamically added. Any operations on the
org.apache.camel.model.ModelCamelContext will return null or be a noop operation.String getTestExcludeRoutes()
String resolvePropertyPlaceholders(String text, boolean keepUnresolvedOptional)
text
- the text such as an endpoint uri or the likeskeepUnresolvedOptional
- whether to keep placeholders that are optional and was unresolvedIllegalArgumentException
- is thrown if property placeholders was used and there was an error resolving
themApache Camel