$scope.resendDlqMessage = function()

in src/main/resources/static/src/dlqMessage.js [154:182]


    $scope.resendDlqMessage = function (messageView, consumerGroup) {
        const topic = messageView.properties.RETRY_TOPIC;
        const msgId = messageView.properties.ORIGIN_MESSAGE_ID;
        $http({
            method: "POST",
            url: "message/consumeMessageDirectly.do",
            params: {
                msgId: msgId,
                consumerGroup: consumerGroup,
                topic: topic
            }
        }).success(function (resp) {
            if (resp.status == 0) {
                ngDialog.open({
                    template: 'operationResultDialog',
                    data: {
                        result: resp.data
                    }
                });
            } else {
                ngDialog.open({
                    template: 'operationResultDialog',
                    data: {
                        result: resp.errMsg
                    }
                });
            }
        });
    };