All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.fabric8.insight.camel.audit.default.mvel Maven / Gradle / Ivy

There is a newer version: 1.2.0.redhat-133
Show newest version
{
  "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