public class AggregateFlightBookingStrategy
extends java.lang.Object
implements org.apache.camel.processor.aggregate.AggregationStrategy
| Constructor and Description |
|---|
AggregateFlightBookingStrategy() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.Exchange |
aggregate(org.apache.camel.Exchange oldExchange,
org.apache.camel.Exchange newExchange)
Merges the message headers of sub-routes.
|
org.apache.camel.Exchange |
mergeHeaderIntoOldExchange(java.lang.String messageHeader,
org.apache.camel.Exchange oldExchange,
org.apache.camel.Exchange newExchange)
Merges the message header of input message in new exchange with message
headers of input message in old exchange.
|
public org.apache.camel.Exchange aggregate(org.apache.camel.Exchange oldExchange,
org.apache.camel.Exchange newExchange)
aggregate in interface org.apache.camel.processor.aggregate.AggregationStrategypublic org.apache.camel.Exchange mergeHeaderIntoOldExchange(java.lang.String messageHeader,
org.apache.camel.Exchange oldExchange,
org.apache.camel.Exchange newExchange)
messageHeader - - the name of message header to merge.oldExchange - - the old exchange.newExchange - - the new exchange.Copyright © 2014 Red Hat. All Rights Reserved.