producer.process(exchange);
producer.stop();
}
public void testConfiguration() {
DefaultExchangeFormatter formatter = new DefaultExchangeFormatter();
assertFalse(formatter.isShowExchangeId());
assertFalse(formatter.isShowProperties());
assertFalse(formatter.isShowHeaders());
assertTrue(formatter.isShowBodyType());
assertTrue(formatter.isShowBody());
assertFalse(formatter.isShowOut());
assertFalse(formatter.isShowException());
assertFalse(formatter.isShowCaughtException());
assertFalse(formatter.isShowStackTrace());
assertFalse(formatter.isShowAll());
assertFalse(formatter.isMultiline());
assertEquals(10000, formatter.getMaxChars());
}