Skip to content

Commit

Permalink
ARTEMIS-2137 web console retryMessage is broken
Browse files Browse the repository at this point in the history
(cherry picked from commit a9b3e83)
  • Loading branch information
shailendra14k authored and jbertram committed Dec 17, 2018
1 parent 40f886d commit 9bb94d6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Expand Up @@ -194,12 +194,10 @@ var ARTEMIS = (function(ARTEMIS) {
if (mbean && selection) {
var selectedItems = $scope.gridOptions.selectedItems;
$scope.message = "Retry " + Core.maybePlural(selectedItems.length, "message");
var operation = "retryMessage(java.lang.String)";
angular.forEach(selectedItems, function (item, idx) {
var id = item.messageID;
if (id) {
var callback = (idx + 1 < selectedItems.length) ? intermediateResult : operationSuccess;
jolokia.execute(mbean, operation, id, onSuccess(callback));
ARTEMISService.artemisConsole.retryMessage(mbean, jolokia, id, onSuccess(callback));
}
});
Expand Down
Expand Up @@ -56,7 +56,7 @@ function ArtemisConsole() {
};

this.retryMessage = function (mbean, jolokia, id, method) {
jolokia.execute(mbean, "retryMessage(java.lang.String)", id, method);
jolokia.execute(mbean, "retryMessage(long)", id, method);
};

this.sendMessage = function (mbean, jolokia, headers, type, body, durable, user, pwd, method) {
Expand Down

0 comments on commit 9bb94d6

Please sign in to comment.