Fix bug: MessageHandler::put throw MessageException unexpected.