363738394041424344
consumer.start(); Exchange exchange = consumer.receive(); log.info("Receive " + exchange); assertNotNull(exchange); assertNotNull(exchange.getIn().getBody()); consumer.stop(); } }