org.apache.camel.management.event
Class ExchangeSendingEvent
java.lang.Object
java.util.EventObject
org.apache.camel.management.event.AbstractExchangeEvent
org.apache.camel.management.event.ExchangeSendingEvent
- All Implemented Interfaces:
- Serializable
public class ExchangeSendingEvent
- extends AbstractExchangeEvent
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 occurring before the actual sending takes places, and
therefore its not a 100% guarantee that the sending actually happens, as there may cause an
internal error before.
The ExchangeSentEvent is an event which is emitted after the sending is done.
- Version:
- See Also:
ExchangeSentEvent,
Serialized Form
ExchangeSendingEvent
public ExchangeSendingEvent(Exchange source,
Endpoint endpoint)
getEndpoint
public Endpoint getEndpoint()
toString
public String toString()
- Overrides:
toString in class EventObject
Apache Camel