Management
Manages debug logging and the collection of monitoring metrics by components in the flow.
To enable message channel and message handler metrics, add this support object to the message flow. Be aware that keeping track of metrics can negatively impact the flow's performance.
MessageSources
only maintain counts, MessageChannels
and MessageHandlers
maintain duration statistics in addition to counts. One way to make use of these counts and statistics is to add an MBean export support object to the message flow, exposing the metrics through JMX. By default, eMagiz containers will then periodically collect all these JMX metrics and use them to feed the monitoring graphs in the eMagiz web portal.
In addition to metrics, you can control debug logging in the main message flow. It has been found that in very high volume applications, even calls to isDebugEnabled()
can be quite expensive with some logging subsystems. You can disable all such logging to avoid this overhead; exception logging (debug or otherwise) are not affected by this setting.
Default logging enabled
Set to false
to disable all logging in the main message flow, regardless of the log system category settings. This can improve performance.
Set to true
to enable debug logging (if also enabled by the logging subsystem).
Counts enabled patterns
A comma-delimited list of patterns for components for which counts should be enabled.
A leading !
negates the pattern match, e.g. !foo
means don't enabled counts for components where the name matches the pattern foo
. For components with names that match multiple patterns, the first pattern (from left to right) wins. For example, !foo*, foox
will match all beans that don’t start with foo
, except foox
.
Default is *
.
Default counts enabled
Enable or disable count metrics for components not matching one of the patterns in counts enabled patterns.
Stats enabled patterns
A comma-delimited list of patterns for components for which statistical metrics should be enabled.
A leading !
negates the pattern match, e.g. !foo
means don't enable metrics for components where the name matches the pattern foo
. For components with names that match multiple patterns, the first pattern (from left to right) wins. For example, !foo*, foox
will match all beans that don’t start with foo
, except foox
.
Default is *
.
Default stats enabled
Enable or disable statistical metrics for components not matching one of the patterns in stats enabled patterns.