org.apache.camel.impl
Class DefaultExchangeFormatter

java.lang.Object
  extended by 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:
$Revision: 749193 $

Field Summary
protected static DefaultExchangeFormatter INSTANCE
           
 
Constructor Summary
DefaultExchangeFormatter()
           
 
Method Summary
 Object format(Exchange exchange)
          Generates a string representation of the exchange
static DefaultExchangeFormatter getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

protected static final DefaultExchangeFormatter INSTANCE
Constructor Detail

DefaultExchangeFormatter

public DefaultExchangeFormatter()
Method Detail

getInstance

public static DefaultExchangeFormatter getInstance()

format

public Object 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