org.apache.camel.impl
Class GroupedExchange
java.lang.Object
org.apache.camel.impl.DefaultExchange
org.apache.camel.impl.GroupedExchange
- All Implemented Interfaces:
- Exchange
public class GroupedExchange
- extends DefaultExchange
A grouped exchange that groups together other exchanges, as a holder object.
This grouped exchange is useable for the aggregator so multiple exchanges can be grouped
into this single exchange and thus only one exchange is sent for further processing.
| Fields inherited from interface org.apache.camel.Exchange |
AGGREGATED_SIZE, BEAN_HOLDER, BEAN_METHOD_NAME, BEAN_MULTI_PARAMETER_ARRAY, CHARSET_NAME, DATASET_INDEX, EXCEPTION_CAUGHT, EXCEPTION_HANDLED, FAILURE_HANDLED, FILE_BATCH_INDEX, FILE_BATCH_SIZE, FILE_LOCAL_WORK_PATH, FILE_NAME, FILE_NAME_ONLY, FILE_NAME_PRODUCED, LOOP_INDEX, LOOP_SIZE, PROCESSED_SYNC, REDELIVERED, REDELIVERY_COUNTER, SPLIT_INDEX, SPLIT_SIZE, TIMER_FIRED_TIME, TIMER_NAME, TIMER_PERIOD, TIMER_TIME, TRANSACTED |
| Methods inherited from class org.apache.camel.impl.DefaultExchange |
configureMessage, copy, copyFrom, createExchangeId, createFaultMessage, createInMessage, createOutMessage, getContext, getException, getExchangeId, getFault, getFault, getFromEndpoint, getIn, getOut, getOut, getPattern, getProperties, getProperty, getProperty, getUnitOfWork, isFailed, isTransacted, newInstance, removeProperty, setException, setExchangeId, setFault, setFromEndpoint, setIn, setOut, setPattern, setProperties, setProperty, setUnitOfWork, throwException |
GroupedExchange
public GroupedExchange(CamelContext context)
GroupedExchange
public GroupedExchange(CamelContext context,
ExchangePattern pattern)
GroupedExchange
public GroupedExchange(Exchange parent)
GroupedExchange
public GroupedExchange(Endpoint fromEndpoint)
GroupedExchange
public GroupedExchange(Endpoint fromEndpoint,
ExchangePattern pattern)
getExchanges
public List<Exchange> getExchanges()
setExchanges
public void setExchanges(List<Exchange> exchanges)
addExchange
public void addExchange(Exchange exchange)
size
public int size()
get
public Exchange get(int index)
toString
public String toString()
- Overrides:
toString in class DefaultExchange
Copyright © 2009 Apache Software Foundation. All Rights Reserved.