exclude_vctx_mess

March 26, 2020 Contributors

Name

exclude_vctx_mess — exclude validation context keys from being journaled in the spool metadata.

Synopsis

Exclude_VCTX_Mess = ("regex$" "otherregex")

Description

With more advanced policy configurations, the aggregate size of the validation context data retained in memory may become significant, especially if keep_message_dicts_in_memory is enabled.

Exclude_VCTX_Mess allows you to specify a list of one or more Perl-compatible regular expressions. During swap out, the keys to the message dictionary are compared against the patterns listed by Exclude_VCTX_Mess. If a key matches, then that data value will be deleted from the dictionary.

Note that keys that have special significance to the core product (these typically have a # prefix) can not be filtered by this module.

# filters all keys ending in _string from the per-message context
Exclude_VCTX_Mess = ( "_string$" )

Scope

Exclude_VCTX_Mess is valid in the global, binding, binding_group, and domain scopes.

See Also

exclude_vctx_mess, keep_message_dicts_in_memory