Add mbean support for messaging.