public class ExchangeSentEvent extends AbstractExchangeEvent
Exchange has been sent to an Endpoint.
The ExchangeSentEvent is an event which is emitted after the sending is done.
These two events (sending and sent) come in a pair, and therefore you need to make sure to return
true for both events in the EventNotifier.isEnabled(EventObject)
method to receive events for either of them.ExchangeSendingEvent,
Serialized Formsource| Constructor and Description |
|---|
ExchangeSentEvent(Exchange source,
Endpoint endpoint,
long timeTaken) |
| Modifier and Type | Method and Description |
|---|---|
Endpoint |
getEndpoint() |
long |
getTimeTaken() |
String |
toString() |
getExchangegetSourcepublic ExchangeSentEvent(Exchange source, Endpoint endpoint, long timeTaken)
public Endpoint getEndpoint()
public long getTimeTaken()
public String toString()
toString in class EventObjectApache Camel