|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AggregationRepository
Access to a repository to store aggregated exchanges to support pluggable implementations.
| Method Summary | |
|---|---|
Exchange |
add(CamelContext camelContext,
String key,
Exchange exchange)
Add the given Exchange under the correlation key. |
void |
confirm(CamelContext camelContext,
String exchangeId)
Confirms the completion of the Exchange. |
Exchange |
get(CamelContext camelContext,
String key)
Gets the given exchange with the correlation key |
Set<String> |
getKeys()
Gets the keys currently in the repository. |
void |
remove(CamelContext camelContext,
String key,
Exchange exchange)
Removes the exchange with the given correlation key, which should happen when an Exchange is completed |
| Method Detail |
|---|
Exchange add(CamelContext camelContext,
String key,
Exchange exchange)
Exchange under the correlation key.
Will replace any existing exchange.
camelContext - the current CamelContextkey - the correlation keyexchange - the aggregated exchange
Exchange get(CamelContext camelContext,
String key)
camelContext - the current CamelContextkey - the correlation key
void remove(CamelContext camelContext,
String key,
Exchange exchange)
Exchange is completed
camelContext - the current CamelContextkey - the correlation keyexchange - the exchange to remove
void confirm(CamelContext camelContext,
String exchangeId)
Exchange.
camelContext - the current CamelContextexchangeId - exchange id to confirmSet<String> getKeys()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||