LOGGER.info("Message received sync=" + responseMsg.getData());
Thread.sleep(2000);
}
for (int i = 0; i < 5; i++) {
requestMsg.setData("body nr : " + i);
service.send(requestMsg); // regular asynchronous call
LOGGER.info("Message sent async=" + requestMsg.getData());
Thread.sleep(2000);
}
requestMsg.setData("cache message body");