ARTEMIS-3309 Fixing QueueControlUsingCoreTest

This commit is contained in:
Clebert Suconic 2021-05-25 11:45:17 -04:00
parent f6df6083e3
commit 4de9e887f6
1 changed files with 1 additions and 1 deletions

View File

@ -458,7 +458,7 @@ public class QueueControlUsingCoreTest extends QueueControlTest {
@Override
public int moveMessages(int flushLimit, String filter, String otherQueueName, boolean rejectDuplicates, int messageCount) throws Exception {
return (Integer) proxy.invokeOperation("moveMessages", flushLimit, filter, otherQueueName, rejectDuplicates, messageCount);
return (Integer) proxy.invokeOperation(Integer.class, "moveMessages", flushLimit, filter, otherQueueName, rejectDuplicates, messageCount);
}
@Override