make the message manager for doctrine backend configurable