Home » apache-camel-1.5.0-src » org.apache » camel » impl » [javadoc | source]
org.apache.camel.impl
public class: DefaultExchange [javadoc | source]
java.lang.Object
   org.apache.camel.impl.DefaultExchange

All Implemented Interfaces:
    Exchange

Direct Known Subclasses:
    GenericFileExchange, QuartzExchange, SpringIntegrationExchange, MailExchange, JmsExchange, FileExchange, MinaExchange, RemoteFileExchange, HttpExchange, StreamExchange, TraceEventExchange, JhcExchange, GroupedExchange, XmppExchange, IrcExchange, JMXExchange, CxfExchange, BeanExchange

A default implementation of Exchange
Field Summary
protected final  CamelContext context     
Constructor:
 public DefaultExchange(CamelContext context) 
 public DefaultExchange(DefaultExchange parent) 
 public DefaultExchange(CamelContext context,
    ExchangePattern pattern) 
Method from org.apache.camel.impl.DefaultExchange Summary:
configureMessage,   copy,   copyFrom,   createFaultMessage,   createInMessage,   createOutMessage,   getContext,   getException,   getExchangeId,   getFault,   getFault,   getIn,   getOut,   getOut,   getPattern,   getProperties,   getProperty,   getProperty,   getUnitOfWork,   isFailed,   isTransacted,   newInstance,   removeProperty,   setException,   setExchangeId,   setFault,   setIn,   setOut,   setPattern,   setProperties,   setProperty,   setUnitOfWork,   throwException,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.camel.impl.DefaultExchange Detail:
 protected  void configureMessage(Message message) 
    Configures the message after it has been set on the exchange
 public Exchange copy() 
 public  void copyFrom(Exchange exchange) 
 protected Message createFaultMessage() 
    Factory method to lazily create the FAULT message
 protected Message createInMessage() 
    Factory method used to lazily create the IN message
 protected Message createOutMessage() 
    Factory method to lazily create the OUT message
 public CamelContext getContext() 
 public Throwable getException() 
 public String getExchangeId() 
 public Message getFault() 
 public Message getFault(boolean lazyCreate) 
 public Message getIn() 
 public Message getOut() 
 public Message getOut(boolean lazyCreate) 
 public ExchangePattern getPattern() 
 public Map<String, Object> getProperties() 
 public Object getProperty(String name) 
 public T getProperty(String name,
    Class<T> type) 
 public UnitOfWork getUnitOfWork() 
 public boolean isFailed() 
 public boolean isTransacted() 
 public Exchange newInstance() 
 public Object removeProperty(String name) 
 public  void setException(Throwable exception) 
 public  void setExchangeId(String id) 
 public  void setFault(Message fault) 
 public  void setIn(Message in) 
 public  void setOut(Message out) 
 public  void setPattern(ExchangePattern pattern) 
 public  void setProperties(Map<String, Object> properties) 
 public  void setProperty(String name,
    Object value) 
 public  void setUnitOfWork(UnitOfWork unitOfWork) 
 public  void throwException() throws Exception 
 public String toString()