public void run() {
while (running) {
try {
DeliveryChannel deliveryChannel = context.getDeliveryChannel();
LOGGER.info("about to do an accept on deliveryChannel: {}", deliveryChannel);
MessageExchange messageExchange = deliveryChannel.accept();
LOGGER.info("received me: {}", messageExchange);
onMessageExchange(messageExchange);
} catch (MessagingException e) {
LOGGER.error("Failed to process inbound messages: {}", e.getMessage(), e);
}