org.apache.camel.spi
Interface ExchangeConverter
- All Known Implementing Classes:
- DefaultExchangeConverter
public interface ExchangeConverter
This converter is capable of converting from an exchange to another type
- Version:
- $Revision: 47144 $
convertTo
<T> T convertTo(Class<T> type,
Exchange exchange)
- Converts the given exchange to the new type
- Type Parameters:
T
- the new type- Parameters:
type
- the new class typeexchange
- the exchange to converter
- Returns:
- the converted exchange
Copyright © 2008 IONA Open Source Community. All Rights Reserved.