org.ow2.jonas.camel.component
Class MessageFormatter
java.lang.Object
org.ow2.jonas.camel.component.MessageFormatter
- All Implemented Interfaces:
- org.apache.camel.processor.interceptor.TraceFormatter
public class MessageFormatter
- extends Object
- implements org.apache.camel.processor.interceptor.TraceFormatter
|
Method Summary |
static String |
filterParameters(String url)
|
Object |
format(org.apache.camel.processor.interceptor.TraceInterceptor interceptor,
org.apache.camel.model.ProcessorDefinition node,
org.apache.camel.Exchange exchange)
|
static String |
formatMessage(org.apache.camel.Exchange exchange)
|
static String |
formatMessage(org.apache.camel.Exchange exchange,
Map<String,String> headers)
|
static String |
formatMessage(String from,
String to,
String exchangeId,
Throwable exception,
String filename,
String filenameAbsolutePath)
|
static String |
formatMessage(String from,
String to,
String exchangeId,
Throwable exception,
String filename,
String filenameAbsolutePath,
Map<String,String> headers)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageFormatter
public MessageFormatter()
format
public Object format(org.apache.camel.processor.interceptor.TraceInterceptor interceptor,
org.apache.camel.model.ProcessorDefinition node,
org.apache.camel.Exchange exchange)
- Specified by:
format in interface org.apache.camel.processor.interceptor.TraceFormatter
formatMessage
public static String formatMessage(org.apache.camel.Exchange exchange)
formatMessage
public static String formatMessage(org.apache.camel.Exchange exchange,
Map<String,String> headers)
formatMessage
public static String formatMessage(String from,
String to,
String exchangeId,
Throwable exception,
String filename,
String filenameAbsolutePath)
formatMessage
public static String formatMessage(String from,
String to,
String exchangeId,
Throwable exception,
String filename,
String filenameAbsolutePath,
Map<String,String> headers)
filterParameters
public static String filterParameters(String url)
Copyright © 2013 OW2 Consortium. All Rights Reserved.