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: 2830 $

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


Copyright © 2007-2010 IONA Open Source Community. All Rights Reserved.