public interface MessageHistoryFactory extends StaticService, CamelContextAware
MessageHistory instances.| Modifier and Type | Method and Description |
|---|---|
String |
getNodePattern()
An optional pattern to filter which nodes to trace in this message history.
|
boolean |
isCopyMessage()
Whether to make a copy of the message in the
MessageHistory. |
MessageHistory |
newMessageHistory(String routeId,
NamedNode node,
long timestamp,
Exchange exchange)
Creates a new
MessageHistory |
void |
setCopyMessage(boolean copyMessage)
Sets whether to make a copy of the message in the
MessageHistory. |
void |
setNodePattern(String nodePattern)
An optional pattern to filter which nodes to trace in this message history.
|
getCamelContext, setCamelContext, trySetCamelContextMessageHistory newMessageHistory(String routeId, NamedNode node, long timestamp, Exchange exchange)
MessageHistoryrouteId - the route idnode - the node in the routetimestamp - the time the message processed at this node.exchange - the current exchangeMessageHistoryboolean isCopyMessage()
MessageHistory. By default this is turned off. Beware that
you should not mutate or change the content on the copied message, as its purpose is as a read-only view of the
message.void setCopyMessage(boolean copyMessage)
MessageHistory. By default this is turned off. Beware
that you should not mutate or change the content on the copied message, as its purpose is as a read-only view of
the message.String getNodePattern()
void setNodePattern(String nodePattern)
Apache Camel