Actually, it should "just work". Defining a `<bean id="messageBuilderFactory" ... />` in a child context will simply override the global `MBF` in the parent context. Will add a test.