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 $

Method Summary
<T> T
convertTo(Class<T> type, Exchange exchange)
          Converts the given exchange to the new type
 

Method Detail

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 type
exchange - the exchange to converter
Returns:
the converted exchange


Apache CAMEL