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