assertEquals(11, events.size());
assertIsInstanceOf(ExchangeSendingEvent.class, events.get(0));
assertIsInstanceOf(ExchangeCreatedEvent.class, events.get(1));
ExchangeRedeliveryEvent e = assertIsInstanceOf(ExchangeRedeliveryEvent.class, events.get(2));
assertEquals(1, e.getAttempt());
e = assertIsInstanceOf(ExchangeRedeliveryEvent.class, events.get(3));
assertEquals(2, e.getAttempt());
e = assertIsInstanceOf(ExchangeRedeliveryEvent.class, events.get(4));
assertEquals(3, e.getAttempt());
e = assertIsInstanceOf(ExchangeRedeliveryEvent.class, events.get(5));
assertEquals(4, e.getAttempt());
assertIsInstanceOf(ExchangeSendingEvent.class, events.get(6));
assertIsInstanceOf(ExchangeSentEvent.class, events.get(7));
assertIsInstanceOf(ExchangeFailureHandledEvent.class, events.get(8));
assertIsInstanceOf(ExchangeCompletedEvent.class, events.get(9));
assertIsInstanceOf(ExchangeSentEvent.class, events.get(10));