Paxlogging endpoint.
Name | Kind | Type | Required | Deprecated | Default Value | Enum Values | Description |
---|---|---|---|---|---|---|---|
appender | path | java.lang.String | true | false | Appender is the name of the pax appender that need to be configured in the PaxLogging service configuration. | ||
exchangePattern | parameter | org.apache.camel.ExchangePattern | false | InOnly | InOnly RobustInOnly InOut InOptionalOut OutOnly RobustOutOnly OutIn OutOptionalIn |
Sets the default exchange pattern when creating an exchange | |
synchronous | parameter | boolean | false | false | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). |
Paxlogging consumer. This camel consumer will register a paxlogging appender and will receive all logging events and send them into the route. To avoid generating new logging events from sending the message, an MDC attribute is set in the sending thread, and all log events from this thread are ignored. Camel exchanges are actually sent from a specific thread to make sure the log events are cleanly separated.