Exclusions for default interceptors can be declared either in xml or as class annotations. Since annotations are more visible to maintainers, they are preferred. == Noncompliant Code Example ---- MyExcludedClass true true doTheThing ---- == Compliant Solution ---- @ExcludeDefaultInterceptors public class MyExcludedClass implements MessageListener { @ExcludeClassInterceptors @ExcludeDefaultInterceptors public void doTheThing() { // ... } ---- ifdef::env-github,rspecator-view[] ''' == Implementation Specification (visible only on this page) include::message.adoc[] ''' == Comments And Links (visible only on this page) include::comments-and-links.adoc[] endif::env-github,rspecator-view[]