$scope.resendMessage = function()

in src/main/resources/static/src/message.js [215:254]


        $scope.resendMessage = function (messageView, consumerGroup) {
            var topic = messageView.topic;
            var msgId = messageView.msgId;
            console.log('===' + topic + '===' + msgId);
            if (topic.startsWith('%DLQ%')) {
                if (messageView.properties.hasOwnProperty("RETRY_TOPIC")) {
                    topic = messageView.properties.RETRY_TOPIC;
                }
                if (messageView.properties.hasOwnProperty("ORIGIN_MESSAGE_ID")) {
                    msgId = messageView.properties.ORIGIN_MESSAGE_ID;
                }

            }
            console.log('===' + topic + '===' + msgId);
            $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
                        }
                    });
                }
            });
        };