olegz/spring-integration — comment on commit 143d6426ae3847306f47d72cd24a946cc488a975
File: spring-integration-core/src/main/java/org/springframework/integration/config/xml/AbstractConsumerEndpointParser.java line 137
By garyrussell:

I believe it needs to be a BeanDefinitionRegistryPostProcessor - so that it runs before, for example, the MBeanExporterHelper (which adds channels to the "do not export" list for the regular MBeanExporter.