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: 688279 $
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 © 2009 Apache Software Foundation. All Rights Reserved.