Doctrine backend > configurable message manager 

Make the message manager for the doctrine backend configurable.