In case that's not clear - always call
MuleDefinitionParser.muleParse(org.w3c.dom.Element,org.springframework.beans.factory.xml.ParserContext) rather than
org.springframework.beans.factory.xml.BeanDefinitionParser.parse(org.w3c.dom.Elementorg.springframework.beans.factory.xml.ParserContext) .
The
org.springframework.beans.factory.xml.BeanDefinitionParser is here only to allow the BDP
to be handed over to Spring.