|
||||||||||
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 | |
---|---|
Long |
getDelayer()
Gets the delay value |
boolean |
isAutoStartup()
Gets whether it should automatic start when Camel starts. |
boolean |
isHandleFault()
Returns whether tracing enabled |
boolean |
isStreamCaching()
Returns whether stream cache is enabled |
boolean |
isTracing()
Returns whether tracing enabled |
void |
setAutoStartup(Boolean autoStartup)
Sets whether it should automatic start when Camel starts. |
void |
setDelayer(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(Boolean handleFault)
Sets whether handle fault is enabled or not (default is disabled). |
void |
setStreamCaching(Boolean cache)
Sets whether stream caching is enabled or not (default is disabled). |
void |
setTracing(Boolean tracing)
Sets whether tracing is enabled or not (default is disabled). |
Method Detail |
---|
void setStreamCaching(Boolean cache)
cache
- whether stream caching is enabled or notboolean isStreamCaching()
void setTracing(Boolean tracing)
tracing
- whether tracing is enabled or not.boolean isTracing()
void setHandleFault(Boolean handleFault)
handleFault
- whether handle fault is enabled or not.boolean isHandleFault()
void setDelayer(long delay)
delay
- delay in millisLong getDelayer()
void setAutoStartup(Boolean autoStartup)
CamelContext
itself are always started}
autoStartup
- whether to auto startup.boolean isAutoStartup()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |