public class DefaultRouteContext extends Object implements org.apache.camel.spi.RouteContext
| Constructor and Description | 
|---|
| DefaultRouteContext(org.apache.camel.CamelContext camelContext,
                   org.apache.camel.NamedNode route,
                   String routeId) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addAdvice(org.apache.camel.spi.CamelInternalProcessorAdvice<?> advice) | 
| void | addErrorHandler(org.apache.camel.ErrorHandlerFactory factory,
               org.apache.camel.NamedNode onException) | 
| void | addErrorHandlerFactoryReference(org.apache.camel.ErrorHandlerFactory source,
                               org.apache.camel.ErrorHandlerFactory target) | 
| void | addEventDrivenProcessor(org.apache.camel.Processor processor) | 
| void | addInterceptStrategy(org.apache.camel.spi.InterceptStrategy interceptStrategy) | 
| void | addProperty(String key,
           Object value) | 
| org.apache.camel.Route | commit() | 
| org.apache.camel.CamelContext | getCamelContext() | 
| Long | getDelayer() | 
| org.apache.camel.Endpoint | getEndpoint() | 
| org.apache.camel.ErrorHandlerFactory | getErrorHandlerFactory() | 
| Set<org.apache.camel.NamedNode> | getErrorHandlers(org.apache.camel.ErrorHandlerFactory factory) | 
| List<org.apache.camel.spi.InterceptStrategy> | getInterceptStrategies() | 
| org.apache.camel.spi.RouteError | getLastError() | 
| org.apache.camel.spi.ManagementInterceptStrategy | getManagementInterceptStrategy() | 
| org.apache.camel.Processor | getOnCompletion(String onCompletionId) | 
| org.apache.camel.Processor | getOnException(String onExceptionId) | 
| org.apache.camel.NamedNode | getRoute() | 
| org.apache.camel.spi.RouteController | getRouteController() | 
| String | getRouteId() | 
| List<org.apache.camel.spi.RoutePolicy> | getRoutePolicyList() | 
| org.apache.camel.Route | getRuntimeRoute() | 
| org.apache.camel.ShutdownRoute | getShutdownRoute() | 
| org.apache.camel.ShutdownRunningTask | getShutdownRunningTask() | 
| Integer | getStartupOrder() | 
| String | getTracingPattern() | 
| Boolean | isAllowUseOriginalMessage() | 
| Boolean | isAutoStartup() | 
| Boolean | isBacklogTracing() | 
| Boolean | isCaseInsensitiveHeaders() | 
| Boolean | isDebugging() | 
| Boolean | isLogExhaustedMessageBody() | 
| Boolean | isLogMask() | 
| Boolean | isMessageHistory() | 
| boolean | isRouteAdded() | 
| Boolean | isStreamCaching() | 
| Boolean | isTracing() | 
| <T> T | lookup(String name,
      Class<T> type) | 
| <T> Map<String,T> | lookupByType(Class<T> type) | 
| <T> T | mandatoryLookup(String name,
               Class<T> type) | 
| void | removeErrorHandlers(org.apache.camel.ErrorHandlerFactory factory) | 
| org.apache.camel.Endpoint | resolveEndpoint(String uri) | 
| org.apache.camel.Endpoint | resolveEndpoint(String uri,
               String ref) | 
| void | setAllowUseOriginalMessage(Boolean allowUseOriginalMessage) | 
| void | setAutoStartup(Boolean autoStartup) | 
| void | setBacklogTracing(Boolean backlogTrace) | 
| void | setCaseInsensitiveHeaders(Boolean caseInsensitiveHeaders) | 
| void | setDebugging(Boolean debugging) | 
| void | setDelayer(Long delay) | 
| void | setEndpoint(org.apache.camel.Endpoint endpoint) | 
| void | setErrorHandlerFactory(org.apache.camel.ErrorHandlerFactory errorHandlerFactory) | 
| void | setInterceptStrategies(List<org.apache.camel.spi.InterceptStrategy> interceptStrategies) | 
| void | setIsRouteAdded(boolean routeAdded) | 
| void | setLastError(org.apache.camel.spi.RouteError routeError) | 
| void | setLogExhaustedMessageBody(Boolean logExhaustedMessageBody) | 
| void | setLogMask(Boolean logMask) | 
| void | setManagementInterceptStrategy(org.apache.camel.spi.ManagementInterceptStrategy interceptStrategy) | 
| void | setMessageHistory(Boolean messageHistory) | 
| void | setOnCompletion(String onCompletionId,
               org.apache.camel.Processor processor) | 
| void | setOnException(String onExceptionId,
              org.apache.camel.Processor processor) | 
| void | setRouteController(org.apache.camel.spi.RouteController routeController) | 
| void | setRoutePolicyList(List<org.apache.camel.spi.RoutePolicy> routePolicyList) | 
| void | setShutdownRoute(org.apache.camel.ShutdownRoute shutdownRoute) | 
| void | setShutdownRunningTask(org.apache.camel.ShutdownRunningTask shutdownRunningTask) | 
| void | setStartupOrder(Integer startupOrder) | 
| void | setStreamCaching(Boolean cache) | 
| void | setTracing(Boolean tracing) | 
| void | setTracingPattern(String tracePattern) | 
public DefaultRouteContext(org.apache.camel.CamelContext camelContext,
                           org.apache.camel.NamedNode route,
                           String routeId)
public org.apache.camel.Endpoint getEndpoint()
getEndpoint in interface org.apache.camel.EndpointAwarepublic void setEndpoint(org.apache.camel.Endpoint endpoint)
setEndpoint in interface org.apache.camel.spi.RouteContextpublic org.apache.camel.NamedNode getRoute()
getRoute in interface org.apache.camel.spi.RouteContextpublic String getRouteId()
getRouteId in interface org.apache.camel.spi.RouteContextpublic org.apache.camel.Route getRuntimeRoute()
public org.apache.camel.CamelContext getCamelContext()
getCamelContext in interface org.apache.camel.spi.RouteContextpublic org.apache.camel.Endpoint resolveEndpoint(String uri)
resolveEndpoint in interface org.apache.camel.spi.RouteContextpublic org.apache.camel.Endpoint resolveEndpoint(String uri, String ref)
resolveEndpoint in interface org.apache.camel.spi.RouteContextpublic <T> T lookup(String name, Class<T> type)
lookup in interface org.apache.camel.spi.RouteContextpublic <T> Map<String,T> lookupByType(Class<T> type)
lookupByType in interface org.apache.camel.spi.RouteContextpublic <T> T mandatoryLookup(String name, Class<T> type)
mandatoryLookup in interface org.apache.camel.spi.RouteContextpublic org.apache.camel.Route commit()
commit in interface org.apache.camel.spi.RouteContextpublic void addEventDrivenProcessor(org.apache.camel.Processor processor)
addEventDrivenProcessor in interface org.apache.camel.spi.RouteContextpublic List<org.apache.camel.spi.InterceptStrategy> getInterceptStrategies()
getInterceptStrategies in interface org.apache.camel.spi.RouteContextpublic void setInterceptStrategies(List<org.apache.camel.spi.InterceptStrategy> interceptStrategies)
setInterceptStrategies in interface org.apache.camel.spi.RouteContextpublic void addInterceptStrategy(org.apache.camel.spi.InterceptStrategy interceptStrategy)
addInterceptStrategy in interface org.apache.camel.spi.RouteContextpublic void setManagementInterceptStrategy(org.apache.camel.spi.ManagementInterceptStrategy interceptStrategy)
setManagementInterceptStrategy in interface org.apache.camel.spi.RouteContextpublic org.apache.camel.spi.ManagementInterceptStrategy getManagementInterceptStrategy()
getManagementInterceptStrategy in interface org.apache.camel.spi.RouteContextpublic boolean isRouteAdded()
isRouteAdded in interface org.apache.camel.spi.RouteContextpublic void setIsRouteAdded(boolean routeAdded)
setIsRouteAdded in interface org.apache.camel.spi.RouteContextpublic void setTracing(Boolean tracing)
setTracing in interface org.apache.camel.RuntimeConfigurationpublic Boolean isTracing()
isTracing in interface org.apache.camel.RuntimeConfigurationpublic String getTracingPattern()
getTracingPattern in interface org.apache.camel.RuntimeConfigurationpublic void setTracingPattern(String tracePattern)
setTracingPattern in interface org.apache.camel.RuntimeConfigurationpublic void setBacklogTracing(Boolean backlogTrace)
setBacklogTracing in interface org.apache.camel.RuntimeConfigurationpublic Boolean isBacklogTracing()
isBacklogTracing in interface org.apache.camel.RuntimeConfigurationpublic void setDebugging(Boolean debugging)
setDebugging in interface org.apache.camel.RuntimeConfigurationpublic Boolean isDebugging()
isDebugging in interface org.apache.camel.RuntimeConfigurationpublic void setMessageHistory(Boolean messageHistory)
setMessageHistory in interface org.apache.camel.RuntimeConfigurationpublic Boolean isMessageHistory()
isMessageHistory in interface org.apache.camel.RuntimeConfigurationpublic void setLogMask(Boolean logMask)
setLogMask in interface org.apache.camel.RuntimeConfigurationpublic Boolean isLogMask()
isLogMask in interface org.apache.camel.RuntimeConfigurationpublic void setLogExhaustedMessageBody(Boolean logExhaustedMessageBody)
setLogExhaustedMessageBody in interface org.apache.camel.RuntimeConfigurationpublic Boolean isLogExhaustedMessageBody()
isLogExhaustedMessageBody in interface org.apache.camel.RuntimeConfigurationpublic void setStreamCaching(Boolean cache)
setStreamCaching in interface org.apache.camel.RuntimeConfigurationpublic Boolean isStreamCaching()
isStreamCaching in interface org.apache.camel.RuntimeConfigurationpublic void setDelayer(Long delay)
setDelayer in interface org.apache.camel.RuntimeConfigurationpublic Long getDelayer()
getDelayer in interface org.apache.camel.RuntimeConfigurationpublic void setAutoStartup(Boolean autoStartup)
setAutoStartup in interface org.apache.camel.RuntimeConfigurationsetAutoStartup in interface org.apache.camel.spi.RouteContextpublic Boolean isAutoStartup()
isAutoStartup in interface org.apache.camel.RuntimeConfigurationisAutoStartup in interface org.apache.camel.spi.RouteContextpublic void setStartupOrder(Integer startupOrder)
setStartupOrder in interface org.apache.camel.spi.RouteContextpublic Integer getStartupOrder()
getStartupOrder in interface org.apache.camel.spi.RouteContextpublic void setErrorHandlerFactory(org.apache.camel.ErrorHandlerFactory errorHandlerFactory)
setErrorHandlerFactory in interface org.apache.camel.spi.RouteContextpublic org.apache.camel.ErrorHandlerFactory getErrorHandlerFactory()
getErrorHandlerFactory in interface org.apache.camel.spi.RouteContextpublic void setShutdownRoute(org.apache.camel.ShutdownRoute shutdownRoute)
setShutdownRoute in interface org.apache.camel.RuntimeConfigurationpublic void setAllowUseOriginalMessage(Boolean allowUseOriginalMessage)
setAllowUseOriginalMessage in interface org.apache.camel.RuntimeConfigurationpublic Boolean isAllowUseOriginalMessage()
isAllowUseOriginalMessage in interface org.apache.camel.RuntimeConfigurationpublic Boolean isCaseInsensitiveHeaders()
isCaseInsensitiveHeaders in interface org.apache.camel.RuntimeConfigurationpublic void setCaseInsensitiveHeaders(Boolean caseInsensitiveHeaders)
setCaseInsensitiveHeaders in interface org.apache.camel.RuntimeConfigurationpublic org.apache.camel.ShutdownRoute getShutdownRoute()
getShutdownRoute in interface org.apache.camel.RuntimeConfigurationpublic void setShutdownRunningTask(org.apache.camel.ShutdownRunningTask shutdownRunningTask)
setShutdownRunningTask in interface org.apache.camel.RuntimeConfigurationpublic org.apache.camel.ShutdownRunningTask getShutdownRunningTask()
getShutdownRunningTask in interface org.apache.camel.RuntimeConfigurationpublic void setRoutePolicyList(List<org.apache.camel.spi.RoutePolicy> routePolicyList)
setRoutePolicyList in interface org.apache.camel.spi.RouteContextpublic List<org.apache.camel.spi.RoutePolicy> getRoutePolicyList()
getRoutePolicyList in interface org.apache.camel.spi.RouteContextpublic org.apache.camel.spi.RouteError getLastError()
getLastError in interface org.apache.camel.spi.RouteContextpublic void setLastError(org.apache.camel.spi.RouteError routeError)
setLastError in interface org.apache.camel.spi.RouteContextpublic org.apache.camel.spi.RouteController getRouteController()
getRouteController in interface org.apache.camel.spi.RouteContextpublic void setRouteController(org.apache.camel.spi.RouteController routeController)
setRouteController in interface org.apache.camel.spi.RouteContextpublic org.apache.camel.Processor getOnCompletion(String onCompletionId)
getOnCompletion in interface org.apache.camel.spi.RouteContextpublic void setOnCompletion(String onCompletionId, org.apache.camel.Processor processor)
setOnCompletion in interface org.apache.camel.spi.RouteContextpublic org.apache.camel.Processor getOnException(String onExceptionId)
getOnException in interface org.apache.camel.spi.RouteContextpublic void setOnException(String onExceptionId, org.apache.camel.Processor processor)
setOnException in interface org.apache.camel.spi.RouteContextpublic void addAdvice(org.apache.camel.spi.CamelInternalProcessorAdvice<?> advice)
addAdvice in interface org.apache.camel.spi.RouteContextpublic void addProperty(String key, Object value)
addProperty in interface org.apache.camel.spi.RouteContextpublic void addErrorHandler(org.apache.camel.ErrorHandlerFactory factory,
                            org.apache.camel.NamedNode onException)
addErrorHandler in interface org.apache.camel.spi.RouteContextpublic Set<org.apache.camel.NamedNode> getErrorHandlers(org.apache.camel.ErrorHandlerFactory factory)
getErrorHandlers in interface org.apache.camel.spi.RouteContextpublic void removeErrorHandlers(org.apache.camel.ErrorHandlerFactory factory)
removeErrorHandlers in interface org.apache.camel.spi.RouteContextpublic void addErrorHandlerFactoryReference(org.apache.camel.ErrorHandlerFactory source,
                                            org.apache.camel.ErrorHandlerFactory target)
addErrorHandlerFactoryReference in interface org.apache.camel.spi.RouteContextApache Camel