// Do not edit directly!
// This file was generated by camel-quarkus-maven-plugin:update-extension-doc-page
[id="extensions-mdc"]
= Mdc
:linkattrs:
:cq-artifact-id: camel-quarkus-mdc
:cq-native-supported: true
:cq-status: Stable
:cq-status-deprecation: Stable
:cq-description: Logging MDC (Mapped Diagnostic Context) Service
:cq-deprecated: false
:cq-jvm-since: 3.29.0
:cq-native-since: 3.29.0

ifeval::[{doc-show-badges} == true]
[.badges]
[.badge-key]##JVM since##[.badge-supported]##3.29.0## [.badge-key]##Native since##[.badge-supported]##3.29.0##
endif::[]

Logging MDC (Mapped Diagnostic Context) Service

[id="extensions-mdc-whats-inside"]
== What's inside

* xref:{cq-camel-components}:others:mdc.adoc[MDC Logging]

Please refer to the above link for usage and configuration details.

[id="extensions-mdc-maven-coordinates"]
== Maven coordinates

https://{link-quarkus-code-generator}/?extension-search=camel-quarkus-mdc[Create a new project with this extension on {link-quarkus-code-generator}, window="_blank"]

Or add the coordinates to your existing project:

[source,xml]
----
<dependency>
    <groupId>org.apache.camel.quarkus</groupId>
    <artifactId>camel-quarkus-mdc</artifactId>
</dependency>
----
ifeval::[{doc-show-user-guide-link} == true]
Check the xref:user-guide/index.adoc[User guide] for more information about writing Camel Quarkus applications.
endif::[]

[id="extensions-mdc-additional-camel-quarkus-configuration"]
== Additional Camel Quarkus configuration

[width="100%",cols="80,5,15",options="header"]
|===
| Configuration property | Type | Default


a| [[quarkus-camel-mdc-enabled]]`link:#quarkus-camel-mdc-enabled[quarkus.camel.mdc.enabled]`

Sets whether to enable the MDC tracing.
| `boolean`
| `false`

a| [[quarkus-camel-mdc-custom-exchange-headers]]`link:#quarkus-camel-mdc-custom-exchange-headers[quarkus.camel.mdc.custom-exchange-headers]`

Provide the headers you would like to use in the logging. Use * value to include all available headers.
| `string`
| 

a| [[quarkus-camel-mdc-custom-exchange-properties]]`link:#quarkus-camel-mdc-custom-exchange-properties[quarkus.camel.mdc.custom-exchange-properties]`

Provide the properties you would like to use in the logging. Use * value to include all available properties.
| `string`
| 
|===

[.configuration-legend]
{doc-link-icon-lock}[title=Fixed at build time] Configuration property fixed at build time. All other configuration properties are overridable at runtime.

