set/getMessageHandler Should be ResourceManager's responsibility