| Constructor and Description |
|---|
ReplaceStringTransformer(java.lang.String pattern,
java.lang.String with) |
| Modifier and Type | Method and Description |
|---|---|
Exchange |
apply(Exchange exchange) |
static ReplaceStringTransformer |
clearTimestamps()
Predefined transformer replacing all timestamps with the epoch (1970-01-01T00:00:00Z).
|
static ReplaceStringTransformer |
clearUUIDs()
Predefined transformer placing all UUIDs with a blank one (00000000-0000-0000-0000-000000000000).
|
public ReplaceStringTransformer(java.lang.String pattern,
java.lang.String with)
pattern - Matches the string to replace.with - String used as substitution.public static ReplaceStringTransformer clearTimestamps()
public static ReplaceStringTransformer clearUUIDs()