org.apache.servicemix.jbi.event
Class ExchangeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.apache.servicemix.jbi.event.ExchangeEvent
All Implemented Interfaces:
Serializable

public class ExchangeEvent
extends EventObject

Event sent when an exchange is received or accepted by a component.

Author:
gnodet
See Also:
Serialized Form

Field Summary
static int EXCHANGE_ACCEPTED
           
static int EXCHANGE_SENT
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ExchangeEvent(javax.jbi.messaging.MessageExchange exchange, int type)
           
 
Method Summary
 javax.jbi.messaging.MessageExchange getExchange()
           
 ComponentContextImpl getExchangeSourceContext()
          Returns the source context which created the message exchange
 int getType()
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EXCHANGE_SENT

public static final int EXCHANGE_SENT
See Also:
Constant Field Values

EXCHANGE_ACCEPTED

public static final int EXCHANGE_ACCEPTED
See Also:
Constant Field Values
Constructor Detail

ExchangeEvent

public ExchangeEvent(javax.jbi.messaging.MessageExchange exchange,
                     int type)
Method Detail

getExchange

public javax.jbi.messaging.MessageExchange getExchange()

getType

public int getType()

getExchangeSourceContext

public ComponentContextImpl getExchangeSourceContext()
Returns the source context which created the message exchange



Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.