This commit is contained in:
Michael Andre Pearce 2018-11-08 23:45:32 +00:00
commit b08541997b
1 changed files with 2 additions and 0 deletions

View File

@ -1790,6 +1790,7 @@ public class QueueControlTest extends ManagementTestBase {
producer.send(matchingMessage);
producer.send(unmatchingMessage);
producer.send(matchingMessage);
session.commit();
QueueControl queueControl = createManagementControl(address, queue);
String result = queueControl.countDeliveringMessages(null, null);
@ -1866,6 +1867,7 @@ public class QueueControlTest extends ManagementTestBase {
producer.send(message1);
producer.send(message2);
producer.send(message1);
session.commit();
QueueControl queueControl = createManagementControl(address, queue);
String result = queueControl.countDeliveringMessages(key + " =" + valueGroup1, key);