io.fabric8.insight.camel.audit.default.mvel Maven / Gradle / Ivy
{
"host": "${host}",
"timestamp": @{toJson(timestamp)},
"event": "${event}",
"exchange": {
"id": "${exchange.exchangeId}",
"routeId": "${exchange.fromRouteId}",
"contextId": "${exchange.context.name}",
"fromEndpoint": "${exchange.fromEndpoint.toString()}",
"pattern": "${exchange.pattern}",
"properties": @{toJson(exchange.properties)},
@if{exchange.exception != null}
"exception": "${exchange.exception}",
@end{}
"in": {
"messageId": "${exchange.in.messageId}",
"headers": @{toJson(exchange.in.headers)}
@if{exchange.in.body != null},
"body": @{toJson(exchange.in.body)}
@end{}
}
@if{exchange.hasOut() == true}
, "out": {
"messageId": "${exchange.out.messageId}",
"headers": @{toJson(exchange.out.headers)}
@if{exchange.out.body != null},
"body": @{toJson(exchange.out.body)}
@end{}
}
@end{}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy