Uses of Interface
org.apache.camel.CamelContext

Packages that use CamelContext
org.apache.camel The JAXB POJOs for the XML Configuration of the routing rules. 
org.apache.camel.builder The Camel Domain Specific Language for creating Routes, Predicates, Expressions and Error Handlers
org.apache.camel.builder.xml Support for XPath based Expressions and Predicates as well as an XSLT processor 
org.apache.camel.component.bean The Bean Component which will look up the bean name in the Spring ApplicationContext and use that to dispatch messages to a POJO 
org.apache.camel.component.browse The Browse Component which is a simple in memory component which maintains a list of all message exchanges which can be useful for debugging, tooling or visualistion. 
org.apache.camel.component.file The File Component for working with file systems. 
org.apache.camel.component.file.strategy Strategies for the File Component. 
org.apache.camel.component.mock The Mock Component which is used for testing of routing and mediation rules. 
org.apache.camel.component.properties The Properties Component for lookup of property placeholders for endpoint URI. 
org.apache.camel.impl Default implementation classes for Camel Core 
org.apache.camel.impl.osgi   
org.apache.camel.management Camel management 
org.apache.camel.management.event Camel management events 
org.apache.camel.management.mbean Camel management JMX Mbeans 
org.apache.camel.model The JAXB POJOs for the XML Configuration of the routing rules. 
org.apache.camel.model.language The JAXB POJOs for the Expression and Predicate plugins for the XML Configuration
org.apache.camel.processor A collection of Processor implementations which are used to implement the Enterprise Integration Patterns 
org.apache.camel.processor.aggregate Helper classes for the Aggregator pattern. 
org.apache.camel.processor.interceptor Helper classes for interceptors. 
org.apache.camel.spi Service Provider Interfaces used internally by the Camel runtime which are plugin strategies. 
org.apache.camel.util Utility classes used by the core of Camel and useful for Camel component developers 
org.apache.camel.view Helper class to help with the Visualisation of Routes 
 

Uses of CamelContext in org.apache.camel
 

Methods in org.apache.camel that return CamelContext
 CamelContext Endpoint.getCamelContext()
          Returns the context which created the endpoint
 CamelContext CamelContextAware.getCamelContext()
          Get the CamelContext
 CamelContext VetoCamelContextStartException.getContext()
           
 CamelContext Exchange.getContext()
          Returns the container so that a processor can resolve endpoints from URIs
 

Methods in org.apache.camel with parameters of type CamelContext
 void RoutesBuilder.addRoutesToCamelContext(CamelContext context)
          Adds the routes from this Route Builder to the CamelContext.
 void StartupListener.onCamelContextStarted(CamelContext context, boolean alreadyStarted)
          Callback invoked when the CamelContext has just been started.
 void Endpoint.setCamelContext(CamelContext context)
          Sets the camel context.
 void CamelContextAware.setCamelContext(CamelContext camelContext)
          Injects the CamelContext
 

Constructors in org.apache.camel with parameters of type CamelContext
VetoCamelContextStartException(String message, CamelContext context)
           
VetoCamelContextStartException(String message, Throwable cause, CamelContext context)
           
 

Uses of CamelContext in org.apache.camel.builder
 

Methods in org.apache.camel.builder that return CamelContext
protected  CamelContext RouteBuilder.createContainer()
          Factory method
 CamelContext RouteBuilder.getContext()
           
 CamelContext BuilderSupport.getContext()
           
 

Methods in org.apache.camel.builder with parameters of type CamelContext
 void RouteBuilder.addRoutesToCamelContext(CamelContext context)
           
protected  void ExpressionClauseSupport.configureExpression(CamelContext camelContext, Expression expression)
           
 RoutesDefinition RouteBuilder.configureRoutes(CamelContext context)
          Configures the routes
protected  Expression ExpressionClauseSupport.createExpression(CamelContext camelContext)
           
 Predicate DefaultErrorHandlerBuilder.getRetryWhilePolicy(CamelContext context)
           
protected static ErrorHandlerBuilder ErrorHandlerBuilderRef.lookupErrorHandlerBuilder(CamelContext camelContext)
           
 void BuilderSupport.setContext(CamelContext context)
           
 

Constructors in org.apache.camel.builder with parameters of type CamelContext
BuilderSupport(CamelContext context)
           
NotifyBuilder(CamelContext context)
          Creates a new builder.
ProxyBuilder(CamelContext camelContext)
           
RouteBuilder(CamelContext context)
           
ThreadPoolBuilder(CamelContext camelContext)
           
 

Uses of CamelContext in org.apache.camel.builder.xml
 

Methods in org.apache.camel.builder.xml with parameters of type CamelContext
 String XPathBuilder.evaluate(CamelContext context, Object body)
          Evaluates the given xpath using the provided body as a String return type.
<T> T
XPathBuilder.evaluate(CamelContext context, Object body, Class<T> type)
          Evaluates the given xpath using the provided body.
 boolean XPathBuilder.matches(CamelContext context, Object body)
          Matches the given xpath using the provided body.
 

Uses of CamelContext in org.apache.camel.component.bean
 

Methods in org.apache.camel.component.bean that return CamelContext
 CamelContext BeanInfo.getCamelContext()
           
 CamelContext RegistryBean.getContext()
           
 

Methods in org.apache.camel.component.bean with parameters of type CamelContext
 Expression XPathAnnotationExpressionFactory.createExpression(CamelContext camelContext, Annotation annotation, LanguageAnnotation languageAnnotation, Class<?> expressionReturnType)
           
 Expression DefaultAnnotationExpressionFactory.createExpression(CamelContext camelContext, Annotation annotation, LanguageAnnotation languageAnnotation, Class<?> expressionReturnType)
           
 Expression BeanAnnotationExpressionFactory.createExpression(CamelContext camelContext, Annotation annotation, LanguageAnnotation languageAnnotation, Class<?> expressionReturnType)
           
 Expression AnnotationExpressionFactory.createExpression(CamelContext camelContext, Annotation annotation, LanguageAnnotation languageAnnotation, Class<?> expressionReturnType)
           
static ParameterMappingStrategy BeanInfo.createParameterMappingStrategy(CamelContext camelContext)
           
 

Constructors in org.apache.camel.component.bean with parameters of type CamelContext
BeanInfo(CamelContext camelContext, Class<?> type)
           
BeanInfo(CamelContext camelContext, Class<?> type, ParameterMappingStrategy strategy)
           
BeanProcessor(Object pojo, CamelContext camelContext)
           
BeanProcessor(Object pojo, CamelContext camelContext, ParameterMappingStrategy parameterMappingStrategy)
           
ConstantBeanHolder(Object bean, CamelContext context)
           
ConstantBeanHolder(Object bean, CamelContext context, ParameterMappingStrategy parameterMappingStrategy)
           
MethodInfo(CamelContext camelContext, Class<?> type, Method method, List<ParameterInfo> parameters, List<ParameterInfo> bodyParameters, boolean hasCustomAnnotation, boolean hasHandlerAnnotation)
           
MethodInfoCache(CamelContext camelContext)
           
MethodInfoCache(CamelContext camelContext, int classCacheSize, int methodCacheSize)
           
MethodInfoCache(CamelContext camelContext, Map<Class<?>,BeanInfo> classCache, Map<Method,MethodInfo> methodCache)
           
RegistryBean(CamelContext context, String name)
           
RegistryBean(Registry registry, CamelContext context, String name)
           
 

Uses of CamelContext in org.apache.camel.component.browse
 

Constructors in org.apache.camel.component.browse with parameters of type CamelContext
BrowseEndpoint(String uri, CamelContext camelContext)
           
 

Uses of CamelContext in org.apache.camel.component.file
 

Methods in org.apache.camel.component.file that return CamelContext
 CamelContext AntPathMatcherGenericFileFilter.getCamelContext()
           
 

Methods in org.apache.camel.component.file with parameters of type CamelContext
 void AntPathMatcherGenericFileFilter.setCamelContext(CamelContext camelContext)
           
static Comparator<Exchange> GenericFileDefaultSorter.sortByFileLanguage(CamelContext context, String expression, boolean reverse)
          Returns a new sory by file language expression
static Comparator<Exchange> GenericFileDefaultSorter.sortByFileLanguage(CamelContext context, String expression, boolean reverse, boolean ignoreCase)
          Returns a new sory by file language expression
static Comparator<Exchange> GenericFileDefaultSorter.sortByFileLanguage(CamelContext context, String expression, boolean reverse, boolean ignoreCase, Comparator<Exchange> nested)
          Returns a new sort by file language expression
 

Constructors in org.apache.camel.component.file with parameters of type CamelContext
GenericFileComponent(CamelContext context)
           
 

Uses of CamelContext in org.apache.camel.component.file.strategy
 

Methods in org.apache.camel.component.file.strategy with parameters of type CamelContext
static GenericFileProcessStrategy<File> FileProcessStrategyFactory.createGenericFileProcessStrategy(CamelContext context, Map<String,Object> params)
           
static
<T> GenericFileProcessStrategy<T>
GenericFileProcessStrategyFactory.createGenericFileProcessStrategy(CamelContext context, Map<String,Object> params)
           
 

Uses of CamelContext in org.apache.camel.component.mock
 

Methods in org.apache.camel.component.mock with parameters of type CamelContext
static void MockEndpoint.assertIsSatisfied(CamelContext context)
          Asserts that all the expectations on any MockEndpoint instances registered in the given context are valid
static void MockEndpoint.assertIsSatisfied(CamelContext context, long timeout, TimeUnit unit)
          Asserts that all the expectations on any MockEndpoint instances registered in the given context are valid
static void MockEndpoint.resetMocks(CamelContext context)
          Reset all mock endpoints
static MockEndpoint MockEndpoint.resolve(CamelContext context, String uri)
          A helper method to resolve the mock endpoint of the given URI on the given context
 

Uses of CamelContext in org.apache.camel.component.properties
 

Methods in org.apache.camel.component.properties with parameters of type CamelContext
protected  Properties DefaultPropertiesResolver.loadPropertiesFromClasspath(CamelContext context, String path)
           
protected  Properties DefaultPropertiesResolver.loadPropertiesFromFilePath(CamelContext context, String path)
           
protected  Properties DefaultPropertiesResolver.loadPropertiesFromRegistry(CamelContext context, String path)
           
 Properties PropertiesResolver.resolveProperties(CamelContext context, String... uri)
          Resolve properties from the given uri
 Properties DefaultPropertiesResolver.resolveProperties(CamelContext context, String... uri)
           
 

Uses of CamelContext in org.apache.camel.impl
 

Classes in org.apache.camel.impl that implement CamelContext
 class DefaultCamelContext
          Represents the context used to configure routes and the policies to use.
 

Fields in org.apache.camel.impl declared as CamelContext
protected  CamelContext DefaultExchange.context
           
 

Fields in org.apache.camel.impl with type parameters of type CamelContext
protected  List<CamelContext> MainSupport.camelContexts
           
 

Methods in org.apache.camel.impl that return CamelContext
 CamelContext RouteService.getCamelContext()
           
 CamelContext ProducerCache.getCamelContext()
           
 CamelContext InterceptSendToEndpoint.getCamelContext()
           
 CamelContext DefaultShutdownStrategy.getCamelContext()
           
 CamelContext DefaultRouteContext.getCamelContext()
           
 CamelContext DefaultEndpoint.getCamelContext()
           
 CamelContext DefaultDebugger.getCamelContext()
           
 CamelContext DefaultConsumerTemplate.getCamelContext()
           
 CamelContext DefaultComponent.getCamelContext()
           
 CamelContext ConsumerCache.getCamelContext()
           
 CamelContext CamelPostProcessorHelper.getCamelContext()
           
 CamelContext DefaultProducerTemplate.getContext()
           
 CamelContext DefaultExchange.getContext()
           
 

Methods in org.apache.camel.impl that return types with arguments of type CamelContext
protected abstract  Map<String,CamelContext> MainSupport.getCamelContextMap()
           
 List<CamelContext> MainSupport.getCamelContexts()
           
 

Methods in org.apache.camel.impl with parameters of type CamelContext
protected  void DefaultShutdownStrategy.doShutdown(CamelContext context, List<RouteStartupOrder> routes, long timeout, TimeUnit timeUnit, boolean suspendOnly)
           
protected  Class<?> DefaultLanguageResolver.findLanguage(String name, CamelContext context)
           
protected  Class<?> DefaultLanguageResolver.findLanguageResolver(String name, CamelContext context)
           
protected  void MainSupport.generateDot(String name, CamelContext camelContext, int size)
           
static DefaultProducerTemplate DefaultProducerTemplate.newInstance(CamelContext camelContext, String defaultEndpointUri)
           
protected  Language DefaultLanguageResolver.noSpecificLanguageFound(String name, CamelContext context)
           
protected  void MainSupport.postProcessCamelContext(CamelContext camelContext)
           
 Component DefaultComponentResolver.resolveComponent(String name, CamelContext context)
           
 DataFormat DefaultDataFormatResolver.resolveDataFormat(String name, CamelContext context)
           
 DataFormatDefinition DefaultDataFormatResolver.resolveDataFormatDefinition(String name, CamelContext context)
           
 Language DefaultLanguageResolver.resolveLanguage(String name, CamelContext context)
           
 void InterceptSendToEndpoint.setCamelContext(CamelContext context)
           
 void DefaultShutdownStrategy.setCamelContext(CamelContext camelContext)
           
 void DefaultEndpoint.setCamelContext(CamelContext camelContext)
           
 void DefaultDebugger.setCamelContext(CamelContext camelContext)
           
 void DefaultComponent.setCamelContext(CamelContext context)
           
 void CamelPostProcessorHelper.setCamelContext(CamelContext camelContext)
           
 void DefaultShutdownStrategy.shutdown(CamelContext context, List<RouteStartupOrder> routes)
           
 void DefaultShutdownStrategy.shutdown(CamelContext context, List<RouteStartupOrder> routes, long timeout, TimeUnit timeUnit)
           
 void DefaultShutdownStrategy.suspend(CamelContext context, List<RouteStartupOrder> routes)
           
 void DefaultShutdownStrategy.suspend(CamelContext context, List<RouteStartupOrder> routes, long timeout, TimeUnit timeUnit)
           
 

Constructors in org.apache.camel.impl with parameters of type CamelContext
CamelPostProcessorHelper(CamelContext camelContext)
           
ConsumerCache(CamelContext camelContext)
           
ConsumerCache(CamelContext camelContext, int maximumCacheSize)
           
ConsumerCache(CamelContext camelContext, Map<String,PollingConsumer> cache)
           
DefaultComponent(CamelContext context)
           
DefaultConsumerTemplate(CamelContext context)
           
DefaultDebugger(CamelContext camelContext)
           
DefaultEndpoint(String endpointUri, CamelContext camelContext)
           
DefaultExchange(CamelContext context)
           
DefaultExchange(CamelContext context, ExchangePattern pattern)
           
DefaultExecutorServiceStrategy(CamelContext camelContext)
           
DefaultPollingEndpoint(String endpointUri, CamelContext context)
           
DefaultProducerTemplate(CamelContext context)
           
DefaultProducerTemplate(CamelContext context, Endpoint defaultEndpoint)
           
DefaultProducerTemplate(CamelContext context, ExecutorService executor)
           
DefaultRouteContext(CamelContext camelContext)
          Only used for lazy construction from inside ExpressionType
DefaultRouteContext(CamelContext camelContext, RouteDefinition route, FromDefinition from, Collection<Route> routes)
           
DefaultShutdownStrategy(CamelContext camelContext)
           
HeaderFilterStrategyComponent(CamelContext context)
           
ProcessorEndpoint(String endpointUri, CamelContext context, Processor processor)
           
ProducerCache(Object source, CamelContext camelContext)
           
ProducerCache(Object source, CamelContext camelContext, int cacheSize)
           
ProducerCache(Object source, CamelContext camelContext, ServicePool<Endpoint,Producer> producerServicePool, Map<String,Producer> cache)
           
PropertyPlaceholderDelegateRegistry(CamelContext context, Registry delegate)
           
ScheduledPollEndpoint(String endpointUri, CamelContext context)
           
 

Uses of CamelContext in org.apache.camel.impl.osgi
 

Methods in org.apache.camel.impl.osgi with parameters of type CamelContext
protected  T Activator.BaseResolver.createInstance(String name, String path, CamelContext context)
           
 Component Activator.BundleComponentResolver.resolveComponent(String name, CamelContext context)
           
 DataFormat Activator.BundleDataFormatResolver.resolveDataFormat(String name, CamelContext context)
           
 DataFormatDefinition Activator.BundleDataFormatResolver.resolveDataFormatDefinition(String name, CamelContext context)
           
 Language Activator.BundleLanguageResolver.resolveLanguage(String name, CamelContext context)
           
 Language Activator.BundleMetaLanguageResolver.resolveLanguage(String name, CamelContext context)
           
 

Uses of CamelContext in org.apache.camel.management
 

Methods in org.apache.camel.management that return CamelContext
 CamelContext PublishEventNotifier.getCamelContext()
           
 CamelContext DefaultManagementStrategy.getCamelContext()
           
 CamelContext DefaultManagementLifecycleStrategy.getCamelContext()
           
 CamelContext DefaultManagementAgent.getCamelContext()
           
 

Methods in org.apache.camel.management with parameters of type CamelContext
 EventObject DefaultEventFactory.createCamelContextResumedEvent(CamelContext context)
           
 EventObject DefaultEventFactory.createCamelContextResumeFailureEvent(CamelContext context, Throwable cause)
           
 EventObject DefaultEventFactory.createCamelContextResumingEvent(CamelContext context)
           
 EventObject DefaultEventFactory.createCamelContextStartedEvent(CamelContext context)
           
 EventObject DefaultEventFactory.createCamelContextStartingEvent(CamelContext context)
           
 EventObject DefaultEventFactory.createCamelContextStartupFailureEvent(CamelContext context, Throwable cause)
           
 EventObject DefaultEventFactory.createCamelContextStopFailureEvent(CamelContext context, Throwable cause)
           
 EventObject DefaultEventFactory.createCamelContextStoppedEvent(CamelContext context)
           
 EventObject DefaultEventFactory.createCamelContextStoppingEvent(CamelContext context)
           
 EventObject DefaultEventFactory.createCamelContextSuspendedEvent(CamelContext context)
           
 EventObject DefaultEventFactory.createCamelContextSuspendingEvent(CamelContext context)
           
 EventObject DefaultEventFactory.createServiceStartupFailureEvent(CamelContext context, Object service, Throwable cause)
           
 EventObject DefaultEventFactory.createServiceStopFailureEvent(CamelContext context, Object service, Throwable cause)
           
protected  String DefaultManagementNamingStrategy.getContextId(CamelContext context)
           
 ObjectName DefaultManagementNamingStrategy.getObjectNameForCamelContext(CamelContext context)
           
 ObjectName DefaultManagementNamingStrategy.getObjectNameForConsumer(CamelContext context, Consumer consumer)
           
 ObjectName DefaultManagementNamingStrategy.getObjectNameForEventNotifier(CamelContext context, EventNotifier eventNotifier)
           
 ObjectName DefaultManagementNamingStrategy.getObjectNameForProcessor(CamelContext context, Processor processor, ProcessorDefinition<?> definition)
           
 ObjectName DefaultManagementNamingStrategy.getObjectNameForProducer(CamelContext context, Producer producer)
           
 ObjectName DefaultManagementNamingStrategy.getObjectNameForService(CamelContext context, Service service)
           
 ObjectName DefaultManagementNamingStrategy.getObjectNameForThreadPool(CamelContext context, ThreadPoolExecutor threadPool)
           
 ObjectName DefaultManagementNamingStrategy.getObjectNameForTracer(CamelContext context, InterceptStrategy tracer)
           
 void DefaultManagementLifecycleStrategy.onContextStart(CamelContext context)
           
 void DefaultManagementLifecycleStrategy.onContextStop(CamelContext context)
           
 void DefaultManagementLifecycleStrategy.onServiceAdd(CamelContext context, Service service, Route route)
           
 void DefaultManagementLifecycleStrategy.onServiceRemove(CamelContext context, Service service, Route route)
           
 void DefaultManagementLifecycleStrategy.onThreadPoolAdd(CamelContext camelContext, ThreadPoolExecutor threadPool)
           
 void PublishEventNotifier.setCamelContext(CamelContext camelContext)
           
 void DefaultManagementStrategy.setCamelContext(CamelContext camelContext)
           
 void DefaultManagementLifecycleStrategy.setCamelContext(CamelContext camelContext)
           
 void DefaultManagementAgent.setCamelContext(CamelContext camelContext)
           
 Processor InstrumentationInterceptStrategy.wrapProcessorInInterceptors(CamelContext context, ProcessorDefinition definition, Processor target, Processor nextTarget)
           
 

Constructors in org.apache.camel.management with parameters of type CamelContext
DefaultManagementAgent(CamelContext camelContext)
           
DefaultManagementLifecycleStrategy(CamelContext camelContext)
           
ManagedManagementStrategy(CamelContext camelContext)
           
 

Uses of CamelContext in org.apache.camel.management.event
 

Methods in org.apache.camel.management.event that return CamelContext
 CamelContext ServiceStopFailureEvent.getContext()
           
 CamelContext ServiceStartupFailureEvent.getContext()
           
 CamelContext CamelContextSuspendingEvent.getContext()
           
 CamelContext CamelContextSuspendedEvent.getContext()
           
 CamelContext CamelContextStoppingEvent.getContext()
           
 CamelContext CamelContextStoppedEvent.getContext()
           
 CamelContext CamelContextStopFailureEvent.getContext()
           
 CamelContext CamelContextStartupFailureEvent.getContext()
           
 CamelContext CamelContextStartingEvent.getContext()
           
 CamelContext CamelContextStartedEvent.getContext()
           
 CamelContext CamelContextResumingEvent.getContext()
           
 CamelContext CamelContextResumeFailureEvent.getContext()
           
 CamelContext CamelContextResumedEvent.getContext()
           
 

Constructors in org.apache.camel.management.event with parameters of type CamelContext
CamelContextResumedEvent(CamelContext source)
           
CamelContextResumeFailureEvent(CamelContext context, Throwable cause)
           
CamelContextResumingEvent(CamelContext source)
           
CamelContextStartedEvent(CamelContext source)
           
CamelContextStartingEvent(CamelContext source)
           
CamelContextStartupFailureEvent(CamelContext context, Throwable cause)
           
CamelContextStopFailureEvent(CamelContext context, Throwable cause)
           
CamelContextStoppedEvent(CamelContext source)
           
CamelContextStoppingEvent(CamelContext source)
           
CamelContextSuspendedEvent(CamelContext source)
           
CamelContextSuspendingEvent(CamelContext source)
           
ServiceStartupFailureEvent(CamelContext context, Object service, Throwable cause)
           
ServiceStopFailureEvent(CamelContext context, Object service, Throwable cause)
           
 

Uses of CamelContext in org.apache.camel.management.mbean
 

Fields in org.apache.camel.management.mbean declared as CamelContext
protected  CamelContext ManagedRoute.context
           
 

Methods in org.apache.camel.management.mbean that return CamelContext
 CamelContext ManagedTracer.getContext()
           
 CamelContext ManagedThreadPool.getContext()
           
 CamelContext ManagedService.getContext()
           
 CamelContext ManagedRoute.getContext()
           
 CamelContext ManagedProcessor.getContext()
           
 CamelContext ManagedEventNotifier.getContext()
           
 CamelContext ManagedCamelContext.getContext()
           
 

Constructors in org.apache.camel.management.mbean with parameters of type CamelContext
ManagedCamelContext(CamelContext context)
           
ManagedConsumer(CamelContext context, Consumer consumer)
           
ManagedDelayer(CamelContext context, Delayer delayer, ProcessorDefinition<?> definition)
           
ManagedEventNotifier(CamelContext context, EventNotifier eventNotifier)
           
ManagedProcessor(CamelContext context, Processor processor, ProcessorDefinition<?> definition)
           
ManagedProducer(CamelContext context, Producer producer)
           
ManagedProducerCache(CamelContext context, ProducerCache producerCache)
           
ManagedRoute(CamelContext context, Route route)
           
ManagedScheduledPollConsumer(CamelContext context, ScheduledPollConsumer consumer)
           
ManagedSendProcessor(CamelContext context, SendProcessor processor, ProcessorDefinition<?> definition)
           
ManagedService(CamelContext context, Service service)
           
ManagedSuspendableRoute(CamelContext context, Route route)
           
ManagedThreadPool(CamelContext camelContext, ThreadPoolExecutor threadPool)
           
ManagedThrottler(CamelContext context, Throttler throttler, ProcessorDefinition<?> definition)
           
ManagedThrottlingInflightRoutePolicy(CamelContext context, ThrottlingInflightRoutePolicy policy)
           
ManagedTracer(CamelContext camelContext, Tracer tracer)
           
 

Uses of CamelContext in org.apache.camel.model
 

Methods in org.apache.camel.model that return CamelContext
 CamelContext RoutesDefinition.getCamelContext()
           
 

Methods in org.apache.camel.model with parameters of type CamelContext
 List<RouteContext> RouteDefinition.addRoutes(CamelContext camelContext, Collection<Route> routes)
           
protected  RouteContext RouteDefinition.addRoutes(CamelContext camelContext, Collection<Route> routes, FromDefinition fromType)
           
 RouteDefinition RouteDefinition.adviceWith(CamelContext camelContext, RouteBuilder builder)
          Advices this route with the route builder.
 RedeliveryPolicy RedeliveryPolicyDefinition.createRedeliveryPolicy(CamelContext context, RedeliveryPolicy parentPolicy)
           
 RedeliveryPolicy OnExceptionDefinition.createRedeliveryPolicy(CamelContext context, RedeliveryPolicy parentPolicy)
          Allows an exception handler to create a new redelivery policy for this exception type
 RouteBuilder RouteBuilderDefinition.createRouteBuilder(CamelContext camelContext)
           
 RoutesBuilder RouteBuilderDefinition.createRoutes(CamelContext camelContext)
           
 ServiceStatus RouteDefinition.getStatus(CamelContext camelContext)
          Returns the status of the route if it has been registered with a CamelContext
 boolean RouteDefinition.isAutoStartup(CamelContext camelContext)
           
 boolean RouteDefinition.isStartable(CamelContext camelContext)
           
 boolean RouteDefinition.isStoppable(CamelContext camelContext)
           
 List<RouteDefinition> RouteContextRefDefinition.lookupRoutes(CamelContext camelContext)
           
 Endpoint RouteDefinition.resolveEndpoint(CamelContext camelContext, String uri)
           
 void RoutesDefinition.setCamelContext(CamelContext camelContext)
           
 

Uses of CamelContext in org.apache.camel.model.language
 

Methods in org.apache.camel.model.language with parameters of type CamelContext
protected  void XQueryExpression.configureExpression(CamelContext camelContext, Expression expression)
           
protected  void XPathExpression.configureExpression(CamelContext camelContext, Expression expression)
           
protected  void NamespaceAwareExpression.configureExpression(CamelContext camelContext, Expression expression)
           
protected  void ExpressionDefinition.configureExpression(CamelContext camelContext, Expression expression)
           
protected  void XQueryExpression.configurePredicate(CamelContext camelContext, Predicate predicate)
           
protected  void XPathExpression.configurePredicate(CamelContext camelContext, Predicate predicate)
           
protected  void NamespaceAwareExpression.configurePredicate(CamelContext camelContext, Predicate predicate)
           
protected  void ExpressionDefinition.configurePredicate(CamelContext camelContext, Predicate predicate)
           
 Expression TokenizerExpression.createExpression(CamelContext camelContext)
           
 Expression MethodCallExpression.createExpression(CamelContext camelContext)
           
 Expression ExpressionDefinition.createExpression(CamelContext camelContext)
           
 Predicate MethodCallExpression.createPredicate(CamelContext camelContext)
           
 Predicate ExpressionDefinition.createPredicate(CamelContext camelContext)
           
protected  void MethodCallExpression.validateHasMethod(CamelContext context, Object bean, String method)
          Validates the given bean has the method
 

Uses of CamelContext in org.apache.camel.processor
 

Fields in org.apache.camel.processor declared as CamelContext
protected  CamelContext SendProcessor.camelContext
           
protected  CamelContext RoutingSlip.camelContext
           
protected  CamelContext RedeliveryErrorHandler.camelContext
           
 

Methods in org.apache.camel.processor that return CamelContext
 CamelContext OnCompletionProcessor.getCamelContext()
           
 CamelContext MulticastProcessor.getCamelContext()
           
 

Methods in org.apache.camel.processor with parameters of type CamelContext
static Processor Pipeline.newInstance(CamelContext camelContext, List<Processor> processors)
           
 

Constructors in org.apache.camel.processor with parameters of type CamelContext
BatchProcessor(CamelContext camelContext, Processor processor, Collection<Exchange> collection)
          Deprecated.  
DeadLetterChannel(CamelContext camelContext, Processor output, Logger logger, Processor redeliveryProcessor, RedeliveryPolicy redeliveryPolicy, Predicate handledPolicy, ExceptionPolicyStrategy exceptionPolicyStrategy, Processor deadLetter, String deadLetterUri, boolean useOriginalBodyPolicy, Predicate retryWhile)
          Creates the dead letter channel.
DefaultErrorHandler(CamelContext camelContext, Processor output, Logger logger, Processor redeliveryProcessor, RedeliveryPolicy redeliveryPolicy, Predicate handledPolicy, ExceptionPolicyStrategy exceptionPolicyStrategy, Predicate retryWhile)
          Creates the default error handler.
DynamicRouter(CamelContext camelContext)
           
DynamicRouter(CamelContext camelContext, Expression expression, String uriDelimiter)
           
LoggingErrorHandler(CamelContext camelContext, Processor output, Logger logger, ExceptionPolicyStrategy exceptionPolicyStrategy)
          Creates the logging error handler.
MulticastProcessor(CamelContext camelContext, Collection<Processor> processors)
           
MulticastProcessor(CamelContext camelContext, Collection<Processor> processors, AggregationStrategy aggregationStrategy)
           
MulticastProcessor(CamelContext camelContext, Collection<Processor> processors, AggregationStrategy aggregationStrategy, boolean parallelProcessing, ExecutorService executorService, boolean streaming, boolean stopOnException, long timeout)
           
OnCompletionProcessor(CamelContext camelContext, Processor processor, ExecutorService executorService, boolean onCompleteOnly, boolean onFailureOnly, Predicate onWhen, boolean useOriginalBody)
           
Pipeline(CamelContext camelContext, Collection<Processor> processors)
           
RecipientList(CamelContext camelContext)
           
RecipientList(CamelContext camelContext, Expression expression)
           
RecipientList(CamelContext camelContext, Expression expression, String delimiter)
           
RecipientList(CamelContext camelContext, String delimiter)
           
RecipientListProcessor(CamelContext camelContext, ProducerCache producerCache, Iterator<Object> iter)
           
RecipientListProcessor(CamelContext camelContext, ProducerCache producerCache, Iterator<Object> iter, AggregationStrategy aggregationStrategy)
           
RecipientListProcessor(CamelContext camelContext, ProducerCache producerCache, Iterator<Object> iter, AggregationStrategy aggregationStrategy, boolean parallelProcessing, ExecutorService executorService, boolean streaming, boolean stopOnException, long timeout)
           
RedeliveryErrorHandler(CamelContext camelContext, Processor output, Logger logger, Processor redeliveryProcessor, RedeliveryPolicy redeliveryPolicy, Predicate handledPolicy, Processor deadLetter, String deadLetterUri, boolean useOriginalMessagePolicy, Predicate retryWhile)
           
Resequencer(CamelContext camelContext, Processor processor, Expression expression)
           
Resequencer(CamelContext camelContext, Processor processor, List<Expression> expressions, boolean allowDuplicates, boolean reverse)
           
Resequencer(CamelContext camelContext, Processor processor, Set<Exchange> collection)
           
RoutingSlip(CamelContext camelContext)
           
RoutingSlip(CamelContext camelContext, Expression expression, String uriDelimiter)
           
Splitter(CamelContext camelContext, Expression expression, Processor destination, AggregationStrategy aggregationStrategy)
           
Splitter(CamelContext camelContext, Expression expression, Processor destination, AggregationStrategy aggregationStrategy, boolean parallelProcessing, ExecutorService executorService, boolean streaming, boolean stopOnException, long timeout)
           
StreamResequencer(CamelContext camelContext, Processor processor, SequenceElementComparator<Exchange> comparator)
          Creates a new StreamResequencer instance.
ThreadsProcessor(CamelContext camelContext, ExecutorService executorService)
           
 

Uses of CamelContext in org.apache.camel.processor.aggregate
 

Methods in org.apache.camel.processor.aggregate with parameters of type CamelContext
 Exchange MemoryAggregationRepository.add(CamelContext camelContext, String key, Exchange exchange)
           
 void MemoryAggregationRepository.confirm(CamelContext camelContext, String exchangeId)
           
 Exchange MemoryAggregationRepository.get(CamelContext camelContext, String key)
           
 void MemoryAggregationRepository.remove(CamelContext camelContext, String key, Exchange exchange)
           
 

Constructors in org.apache.camel.processor.aggregate with parameters of type CamelContext
AggregateProcessor(CamelContext camelContext, Processor processor, Expression correlationExpression, AggregationStrategy aggregationStrategy, ExecutorService executorService)
           
 

Uses of CamelContext in org.apache.camel.processor.interceptor
 

Methods in org.apache.camel.processor.interceptor with parameters of type CamelContext
static Tracer Tracer.createTracer(CamelContext context)
          Creates a new tracer.
static Delayer Delayer.getDelayer(CamelContext context)
          A helper method to return the Delayer instance for a given CamelContext if one is enabled
static HandleFault HandleFault.getHandleFault(CamelContext context)
          A helper method to return the HandleFault instance for a given CamelContext if one is enabled
static StreamCaching StreamCaching.getStreamCaching(CamelContext context)
          A helper method to return the StreamCaching instance for a given CamelContext if one is enabled
static Tracer Tracer.getTracer(CamelContext context)
          A helper method to return the Tracer instance if one is enabled
 Processor Tracer.wrapProcessorInInterceptors(CamelContext context, ProcessorDefinition<?> definition, Processor target, Processor nextTarget)
           
 Processor StreamCaching.wrapProcessorInInterceptors(CamelContext context, ProcessorDefinition<?> definition, Processor target, Processor nextTarget)
           
 Processor HandleFault.wrapProcessorInInterceptors(CamelContext context, ProcessorDefinition<?> definition, Processor target, Processor nextTarget)
           
 Processor Delayer.wrapProcessorInInterceptors(CamelContext context, ProcessorDefinition<?> definition, Processor target, Processor nextTarget)
           
 Processor Debug.wrapProcessorInInterceptors(CamelContext context, ProcessorDefinition<?> definition, Processor target, Processor nextTarget)
           
 

Uses of CamelContext in org.apache.camel.spi
 

Methods in org.apache.camel.spi that return CamelContext
 CamelContext RouteContext.getCamelContext()
          Gets the camel context
 

Methods in org.apache.camel.spi with parameters of type CamelContext
 Exchange AggregationRepository.add(CamelContext camelContext, String key, Exchange exchange)
          Add the given Exchange under the correlation key.
 void AggregationRepository.confirm(CamelContext camelContext, String exchangeId)
          Confirms the completion of the Exchange.
 EventObject EventFactory.createCamelContextResumedEvent(CamelContext context)
          Creates an EventObject for Camel has been resumed successfully.
 EventObject EventFactory.createCamelContextResumeFailureEvent(CamelContext context, Throwable cause)
          Creates an EventObject for Camel failing to resume
 EventObject EventFactory.createCamelContextResumingEvent(CamelContext context)
          Creates an EventObject for Camel is resuming.
 EventObject EventFactory.createCamelContextStartedEvent(CamelContext context)
          Creates an EventObject for Camel has been started successfully.
 EventObject EventFactory.createCamelContextStartingEvent(CamelContext context)
          Creates an EventObject for Camel is starting.
 EventObject EventFactory.createCamelContextStartupFailureEvent(CamelContext context, Throwable cause)
          Creates an EventObject for Camel failing to start
 EventObject EventFactory.createCamelContextStopFailureEvent(CamelContext context, Throwable cause)
          Creates an EventObject for Camel failing to stop cleanly
 EventObject EventFactory.createCamelContextStoppedEvent(CamelContext context)
          Creates an EventObject for Camel has been stopped successfully.
 EventObject EventFactory.createCamelContextStoppingEvent(CamelContext context)
          Creates an EventObject for Camel is stopping.
 EventObject EventFactory.createCamelContextSuspendedEvent(CamelContext context)
          Creates an EventObject for Camel has been suspended successfully.
 EventObject EventFactory.createCamelContextSuspendingEvent(CamelContext context)
          Creates an EventObject for Camel is suspending.
 EventObject EventFactory.createServiceStartupFailureEvent(CamelContext context, Object service, Throwable cause)
          Creates an EventObject for a Service failed to start cleanly
 EventObject EventFactory.createServiceStopFailureEvent(CamelContext context, Object service, Throwable cause)
          Creates an EventObject for a Service failed to stop cleanly
 Exchange AggregationRepository.get(CamelContext camelContext, String key)
          Gets the given exchange with the correlation key
 ObjectName ManagementNamingStrategy.getObjectNameForCamelContext(CamelContext context)
           
 ObjectName ManagementNamingStrategy.getObjectNameForConsumer(CamelContext context, Consumer consumer)
           
 ObjectName ManagementNamingStrategy.getObjectNameForEventNotifier(CamelContext context, EventNotifier eventNotifier)
           
 ObjectName ManagementNamingStrategy.getObjectNameForProcessor(CamelContext context, Processor processor, ProcessorDefinition<?> definition)
           
 ObjectName ManagementNamingStrategy.getObjectNameForProducer(CamelContext context, Producer producer)
           
 ObjectName ManagementNamingStrategy.getObjectNameForService(CamelContext context, Service service)
           
 ObjectName ManagementNamingStrategy.getObjectNameForThreadPool(CamelContext context, ThreadPoolExecutor threadPool)
           
 ObjectName ManagementNamingStrategy.getObjectNameForTracer(CamelContext context, InterceptStrategy tracer)
           
 void LifecycleStrategy.onContextStart(CamelContext context)
          Notification on starting a CamelContext.
 void LifecycleStrategy.onContextStop(CamelContext context)
          Notification on stopping a CamelContext.
 void LifecycleStrategy.onServiceAdd(CamelContext context, Service service, Route route)
          Notification on adding a Service.
 void LifecycleStrategy.onServiceRemove(CamelContext context, Service service, Route route)
          Notification on removing a Service.
 void LifecycleStrategy.onThreadPoolAdd(CamelContext camelContext, ThreadPoolExecutor threadPool)
          Notification on adding a thread pool.
 Exchange RecoverableAggregationRepository.recover(CamelContext camelContext, String exchangeId)
          Recovers the exchange with the given exchange id
 void AggregationRepository.remove(CamelContext camelContext, String key, Exchange exchange)
          Removes the exchange with the given correlation key, which should happen when an Exchange is completed
 Component ComponentResolver.resolveComponent(String name, CamelContext context)
          Attempts to resolve the component for the given URI
 DataFormat DataFormatResolver.resolveDataFormat(String name, CamelContext context)
          Resolves the given data format given its name.
 DataFormatDefinition DataFormatResolver.resolveDataFormatDefinition(String name, CamelContext context)
          Resolves the given data format definition given its name.
 Language LanguageResolver.resolveLanguage(String name, CamelContext context)
          Resolves the given language.
 Set<String> RecoverableAggregationRepository.scan(CamelContext camelContext)
          Scans the repository for Exchanges to be recovered
 void ShutdownStrategy.shutdown(CamelContext context, List<RouteStartupOrder> routes)
          Shutdown the routes
 void ShutdownStrategy.shutdown(CamelContext context, List<RouteStartupOrder> routes, long timeout, TimeUnit timeUnit)
          Shutdown the routes using a specified timeout instead of the default timeout values
 void ShutdownStrategy.suspend(CamelContext context, List<RouteStartupOrder> routes)
          Suspends the routes
 void ShutdownStrategy.suspend(CamelContext context, List<RouteStartupOrder> routes, long timeout, TimeUnit timeUnit)
          Suspends the routes using a specified timeout instead of the default timeout values
 Processor InterceptStrategy.wrapProcessorInInterceptors(CamelContext context, ProcessorDefinition<?> definition, Processor target, Processor nextTarget)
          This method is invoked by ProcessorDefinition.wrapProcessor(RouteContext, Processor) to give the implementor an opportunity to wrap the target processor in a route.
 

Uses of CamelContext in org.apache.camel.util
 

Methods in org.apache.camel.util with parameters of type CamelContext
static
<T> T
CamelContextHelper.convertTo(CamelContext context, Class<T> type, Object value)
          Converts the given value to the requested type
static
<T> T
ExchangeHelper.extractFutureBody(CamelContext context, Future<Object> future, Class<T> type)
          Extracts the body from the given future, that represents a handle to an asynchronous exchange.
static
<T> T
ExchangeHelper.extractFutureBody(CamelContext context, Future<Object> future, long timeout, TimeUnit unit, Class<T> type)
          Extracts the body from the given future, that represents a handle to an asynchronous exchange.
static Properties ObjectHelper.getCamelPropertiesWithPrefix(String prefix, CamelContext camelContext)
          A helper method to access a camel context properties with a prefix
static Endpoint CamelContextHelper.getEndpointInjection(CamelContext camelContext, String uri, String ref, String injectionPointName, boolean mandatory)
          Evaluates the @EndpointInject annotation using the given context
static Endpoint CamelContextHelper.getMandatoryEndpoint(CamelContext camelContext, String uri)
          Returns the mandatory endpoint for the given URI or the NoSuchEndpointException is thrown
static
<T extends Endpoint>
T
CamelContextHelper.getMandatoryEndpoint(CamelContext camelContext, String uri, Class<T> type)
          Returns the mandatory endpoint for the given URI and type or the NoSuchEndpointException is thrown
static int CamelContextHelper.getMaximumCachePoolSize(CamelContext camelContext)
          Gets the maximum cache pool size.
static Object CamelContextHelper.lookup(CamelContext context, String name)
          Look up the given named bean in the Registry on the CamelContext
static
<T> T
CamelContextHelper.lookup(CamelContext context, String name, Class<T> beanType)
          Look up the given named bean of the given type in the Registry on the CamelContext
static
<T> T
CamelContextHelper.mandatoryConvertTo(CamelContext context, Class<T> type, Object value)
          Converts the given value to the specified type throwing an IllegalArgumentException if the value could not be converted to a non null value
static Object CamelContextHelper.mandatoryLookup(CamelContext context, String name)
          Look up the given named bean in the Registry on the CamelContext or throws IllegalArgumentException if not found.
static
<T> T
CamelContextHelper.mandatoryLookup(CamelContext context, String name, Class<T> beanType)
          Look up the given named bean of the given type in the Registry on the CamelContext or throws IllegalArgumentException if not found.
static
<T> T
CamelContextHelper.newInstance(CamelContext context, Class<T> beanType)
          Creates a new instance of the given type using the Injector on the given CamelContext
static void EventHelper.notifyCamelContextResumed(CamelContext context)
           
static void EventHelper.notifyCamelContextResumeFailed(CamelContext context, Throwable cause)
           
static void EventHelper.notifyCamelContextResuming(CamelContext context)
           
static void EventHelper.notifyCamelContextStarted(CamelContext context)
           
static void EventHelper.notifyCamelContextStarting(CamelContext context)
           
static void EventHelper.notifyCamelContextStartupFailed(CamelContext context, Throwable cause)
           
static void EventHelper.notifyCamelContextStopFailed(CamelContext context, Throwable cause)
           
static void EventHelper.notifyCamelContextStopped(CamelContext context)
           
static void EventHelper.notifyCamelContextStopping(CamelContext context)
           
static void EventHelper.notifyCamelContextSuspended(CamelContext context)
           
static void EventHelper.notifyCamelContextSuspending(CamelContext context)
           
static void EventHelper.notifyExchangeCreated(CamelContext context, Exchange exchange)
           
static void EventHelper.notifyExchangeDone(CamelContext context, Exchange exchange)
           
static void EventHelper.notifyExchangeFailed(CamelContext context, Exchange exchange)
           
static void EventHelper.notifyExchangeFailureHandled(CamelContext context, Exchange exchange, Processor failureHandler, boolean deadLetterChannel)
           
static void EventHelper.notifyExchangeRedelivery(CamelContext context, Exchange exchange, int attempt)
           
static void EventHelper.notifyExchangeSent(CamelContext context, Exchange exchange, Endpoint endpoint, long timeTaken)
           
static void EventHelper.notifyRouteStarted(CamelContext context, Route route)
           
static void EventHelper.notifyRouteStopped(CamelContext context, Route route)
           
static void EventHelper.notifyServiceStartupFailure(CamelContext context, Object service, Throwable cause)
           
static void EventHelper.notifyServiceStopFailure(CamelContext context, Object service, Throwable cause)
           
static Boolean CamelContextHelper.parseBoolean(CamelContext camelContext, String text)
          Parses the given text and converts it to an Boolean and handling property placeholders as well
static Integer CamelContextHelper.parseInteger(CamelContext camelContext, String text)
          Parses the given text and converts it to an Integer and handling property placeholders as well
static Long CamelContextHelper.parseLong(CamelContext camelContext, String text)
          Parses the given text and converts it to an Long and handling property placeholders as well
static String CamelContextHelper.parseText(CamelContext camelContext, String text)
          Parses the given text and handling property placeholders as well
static
<T> List<T>
EndpointHelper.resolveReferenceListParameter(CamelContext context, String value, Class<T> elementType)
          Resolves a reference list parameter by making lookups in the registry.
static
<T> T
EndpointHelper.resolveReferenceParameter(CamelContext context, String value, Class<T> type)
          Resolves a reference parameter by making a lookup in the registry.
static
<T> T
EndpointHelper.resolveReferenceParameter(CamelContext context, String value, Class<T> type, boolean mandatory)
          Resolves a reference parameter by making a lookup in the registry.
static void EndpointHelper.setProperties(CamelContext context, Object bean, Map<String,Object> parameters)
          Sets the regular properties on the given bean
static void EndpointHelper.setReferenceProperties(CamelContext context, Object bean, Map<String,Object> parameters)
          Sets the reference properties on the given bean

This is convention over configuration, setting all reference parameters (using EndpointHelper.isReferenceParameter(String) by looking it up in registry and setting it on the bean if possible.

 

Uses of CamelContext in org.apache.camel.view
 

Methods in org.apache.camel.view with parameters of type CamelContext
 void GraphGeneratorSupport.drawRoutes(CamelContext context)
           
 String GraphGeneratorSupport.getRoutesText(CamelContext context)
           
 



Apache CAMEL