org.apache.camel.component.bean
Class BeanExchange

java.lang.Object
  extended by org.apache.camel.impl.DefaultExchange
      extended by org.apache.camel.component.bean.BeanExchange
All Implemented Interfaces:
Exchange

public class BeanExchange
extends DefaultExchange

Exchange for the bean component.

Version:
$Revision: 567 $

Field Summary
 
Fields inherited from class org.apache.camel.impl.DefaultExchange
context
 
Fields inherited from interface org.apache.camel.Exchange
AGGREGATED_COUNT, CHARSET_NAME, EXCEPTION_HANDLED_PROPERTY
 
Constructor Summary
BeanExchange(CamelContext context, ExchangePattern pattern)
           
BeanExchange(DefaultExchange parent)
           
 
Method Summary
 BeanInvocation getInvocation()
           
 Exchange newInstance()
          Creates a new exchange instance with empty messages, headers and properties
 void setInvocation(BeanInvocation invocation)
           
 
Methods inherited from class org.apache.camel.impl.DefaultExchange
configureMessage, copy, copyFrom, createFaultMessage, createInMessage, createOutMessage, getContext, getException, getExchangeId, getFault, getFault, getIn, getOut, getOut, getPattern, getProperties, getProperty, getProperty, getUnitOfWork, isFailed, isTransacted, removeProperty, setException, setExchangeId, setFault, setIn, setOut, setPattern, setProperties, setProperty, setUnitOfWork, throwException, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BeanExchange

public BeanExchange(CamelContext context,
                    ExchangePattern pattern)

BeanExchange

public BeanExchange(DefaultExchange parent)
Method Detail

getInvocation

public BeanInvocation getInvocation()

setInvocation

public void setInvocation(BeanInvocation invocation)

newInstance

public Exchange newInstance()
Description copied from interface: Exchange
Creates a new exchange instance with empty messages, headers and properties

Specified by:
newInstance in interface Exchange
Overrides:
newInstance in class DefaultExchange


Copyright © 2010 IONA Open Source Community. All Rights Reserved.