public EventObject createExchangeRedeliveryEvent(Exchange exchange, int attempt) {
return new ExchangeRedeliveryEvent(exchange, attempt);
}
public EventObject createExchangeSentEvent(Exchange exchange, Endpoint endpoint, long timeTaken) {
return new ExchangeSentEvent(exchange, endpoint, timeTaken);
}