public class StompConsumerTest extends StompBaseTest {
@Test
public void testConsume() throws Exception {
Stomp stomp = new Stomp("tcp://localhost:61613");
final BlockingConnection producerConnection = stomp.connectBlocking();
MockEndpoint mock = getMockEndpoint("mock:result");
mock.expectedMinimumMessageCount(numberOfMessages);
for (int i = 0; i < numberOfMessages; i++) {