org.apache.servicemix.nmr.core.util
Class ExchangeUtils

java.lang.Object
  extended by org.apache.servicemix.nmr.core.util.ExchangeUtils

public class ExchangeUtils
extends Object


Field Summary
static int MAX_MSG_DISPLAY_SIZE
           
protected static String SYSTEM_PROPERTY_SUPPRESS_CONTENT
           
 
Constructor Summary
ExchangeUtils()
           
 
Method Summary
static String display(Exchange exchange, boolean displayContent)
           
static void display(Exchange exchange, Type type, StringBuffer sb)
           
static void ensureReReadable(Exchange exchange)
           
static void ensureReReadable(Message message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_MSG_DISPLAY_SIZE

public static final int MAX_MSG_DISPLAY_SIZE
See Also:
Constant Field Values

SYSTEM_PROPERTY_SUPPRESS_CONTENT

protected static final String SYSTEM_PROPERTY_SUPPRESS_CONTENT
See Also:
Constant Field Values
Constructor Detail

ExchangeUtils

public ExchangeUtils()
Method Detail

display

public static String display(Exchange exchange,
                             boolean displayContent)

display

public static void display(Exchange exchange,
                           Type type,
                           StringBuffer sb)

ensureReReadable

public static void ensureReReadable(Exchange exchange)
                             throws NmrRuntimeException
Throws:
NmrRuntimeException

ensureReReadable

public static void ensureReReadable(Message message)
                             throws NmrRuntimeException
Throws:
NmrRuntimeException


Copyright © 2005-2012 FuseSource. All Rights Reserved.