Event for
before sending an
Exchange
to an
Endpoint
.
This event is emitted before attempting to send the
Exchange
to an
Endpoint
.
There is still some internal processing done before the actual sending takes places, and
therefore it is not 100% guaranteed that the sending actually happens, as an
internal error may occur.
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.