org.apache.camel.impl
Class DefaultExchangeFormatter
java.lang.Object
org.apache.camel.impl.DefaultExchangeFormatter
- All Implemented Interfaces:
- ExchangeFormatter
public class DefaultExchangeFormatter
- extends Object
- implements ExchangeFormatter
A default ExchangeFormatter
which just uses the Exchange
toString() method
- Version:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
protected static final DefaultExchangeFormatter INSTANCE
DefaultExchangeFormatter
public DefaultExchangeFormatter()
getInstance
public static DefaultExchangeFormatter getInstance()
format
public String format(Exchange exchange)
- Description copied from interface:
ExchangeFormatter
- Generates a string representation of the exchange
- Specified by:
format
in interface ExchangeFormatter
- Parameters:
exchange
- the exchange
- Returns:
- a string representation of the exchange
Apache CAMEL