org.apache.camel.management.event
Class ExchangeSendingEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.apache.camel.management.event.AbstractExchangeEvent
          extended by 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

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ExchangeSendingEvent(Exchange source, Endpoint endpoint)
           
 
Method Summary
 Endpoint getEndpoint()
           
 String toString()
           
 
Methods inherited from class org.apache.camel.management.event.AbstractExchangeEvent
getExchange
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExchangeSendingEvent

public ExchangeSendingEvent(Exchange source,
                            Endpoint endpoint)
Method Detail

getEndpoint

public Endpoint getEndpoint()

toString

public String toString()
Overrides:
toString in class EventObject


Apache CAMEL