public static MessageWrapper convert(Message message) {
        MessageWrapper wrapper = new MessageWrapper();
        wrapper.setResponseClass(message.getClass());
        wrapper.setMessageType(message.getMessageType());
        List<Map<String, Object>> messageMapList = new ArrayList<>();
        List<Message> messages = message.getMessages();
        messages.forEach(each -> {
            String eachVal = JSONUtil.toJSONString(each);
            Map mapObj = JSONUtil.parseObject(eachVal, Map.class);
            messageMapList.add(mapObj);
        });
        wrapper.setContentParams(messageMapList);
        return wrapper;
    }
@Test
    public void testConvert() {
        AbstractMessage message = new RuntimeMessage();
        List<Message> runtimeMessages = new ArrayList<>();
        ThreadPoolRunStateInfo poolRunState = ThreadPoolRunStateInfo.builder()
                .tpId("testTPid")
                .activeSize(4)
                .poolSize(12)
                .completedTaskCount(8L)
                .largestPoolSize(12)
                .currentLoad("6")
                .clientLastRefreshTime(LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")))
                .peakLoad("20")
                .queueSize(0)
                .queueRemainingCapacity(512)
                .rejectCount(0L)
                .timestamp(System.currentTimeMillis())
                .build();
        RuntimeMessage runtimeMessage = BeanUtil.convert(poolRunState, RuntimeMessage.class);
        runtimeMessage.setGroupKey("test-groupKeys");
        runtimeMessages.add(runtimeMessage);

        message.setMessageType(MessageTypeEnum.RUNTIME);
        message.setMessages(runtimeMessages);
        MessageWrapper messageWrapper = MessageConvert.convert(message);
        Assertions.assertNotNull(messageWrapper);
    }