public class IntegrationManagementConfigurer extends Object implements SmartInitializingSingleton, ApplicationContextAware
IntegrationManagement.
TODO: This class will be expanded by INT-3755/3756.| Constructor and Description |
|---|
IntegrationManagementConfigurer() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterSingletonsInstantiated() |
void |
setApplicationContext(ApplicationContext applicationContext) |
void |
setDefaultLoggingEnabled(boolean defaultLoggingEnabled)
Disable all logging in the normal message flow in framework components.
|
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException
setApplicationContext in interface ApplicationContextAwareBeansExceptionpublic void setDefaultLoggingEnabled(boolean defaultLoggingEnabled)
Exception logging (debug or otherwise) is not affected by this setting.
It has been found that in high-volume messaging environments, calls to methods such as
logger.isDebuggingEnabled() can be quite expensive and account for an inordinate amount of CPU
time.
Set this to false to disable logging by default in all framework components that implement
IntegrationManagement (channels, message handlers etc). This turns off logging such as
"PreSend on channel", "Received message" etc.
After the context is initialized, individual components can have their setting changed by invoking
IntegrationManagement.setLoggingEnabled(boolean).
defaultLoggingEnabled - defaults to true.public void afterSingletonsInstantiated()
afterSingletonsInstantiated in interface SmartInitializingSingleton