|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RuntimeConfiguration
Various runtime configuration used by CamelContext
and RouteContext
for cross cutting functions such as tracing, delayer, stream cache and the likes.
Method Summary | |
---|---|
java.lang.Long |
getDelayer()
Gets the delay value |
ShutdownRoute |
getShutdownRoute()
Gets the option to use when shutting down route. |
ShutdownRunningTask |
getShutdownRunningTask()
Gets the option to use when shutting down a route and how to act when it has running tasks. |
java.lang.Boolean |
isAutoStartup()
Gets whether it should automatic start when Camel starts. |
java.lang.Boolean |
isHandleFault()
Returns whether tracing enabled |
java.lang.Boolean |
isStreamCaching()
Returns whether stream cache is enabled |
java.lang.Boolean |
isTracing()
Returns whether tracing enabled |
void |
setAutoStartup(java.lang.Boolean autoStartup)
Sets whether it should automatic start when Camel starts. |
void |
setDelayer(java.lang.Long delay)
Sets a delay value in millis that a message is delayed at every step it takes in the route path, to slow things down to better helps you to see what goes Is disabled by default |
void |
setHandleFault(java.lang.Boolean handleFault)
Sets whether handle fault is enabled or not (default is disabled). |
void |
setShutdownRoute(ShutdownRoute shutdownRoute)
Sets the option to use when shutting down routes. |
void |
setShutdownRunningTask(ShutdownRunningTask shutdownRunningTask)
Sets the option to use when shutting down a route and how to act when it has running tasks. |
void |
setStreamCaching(java.lang.Boolean cache)
Sets whether stream caching is enabled or not (default is disabled). |
void |
setTracing(java.lang.Boolean tracing)
Sets whether tracing is enabled or not (default is disabled). |
Method Detail |
---|
void setStreamCaching(java.lang.Boolean cache)
cache
- whether stream caching is enabled or notjava.lang.Boolean isStreamCaching()
void setTracing(java.lang.Boolean tracing)
tracing
- whether tracing is enabled or not.java.lang.Boolean isTracing()
void setHandleFault(java.lang.Boolean handleFault)
handleFault
- whether handle fault is enabled or not.java.lang.Boolean isHandleFault()
void setDelayer(java.lang.Long delay)
delay
- delay in millisjava.lang.Long getDelayer()
void setAutoStartup(java.lang.Boolean autoStartup)
CamelContext
itself are always started}
autoStartup
- whether to auto startup.java.lang.Boolean isAutoStartup()
void setShutdownRoute(ShutdownRoute shutdownRoute)
shutdownRoute
- the option to use.ShutdownRoute getShutdownRoute()
void setShutdownRunningTask(ShutdownRunningTask shutdownRunningTask)
BatchConsumer
which has a group
of messages to process. With this option you can control whether it should complete the entire
group or stop after the current message has been processed.
shutdownRunningTask
- the option to use.ShutdownRunningTask getShutdownRunningTask()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |