diff --git a/docs/modules/ROOT/pages/includes/quarkus-cxf.adoc b/docs/modules/ROOT/pages/includes/quarkus-cxf.adoc index d01350bb2..df5332764 100644 --- a/docs/modules/ROOT/pages/includes/quarkus-cxf.adoc +++ b/docs/modules/ROOT/pages/includes/quarkus-cxf.adoc @@ -610,8 +610,19 @@ import javax.enterprise.inject.Produces; class Producers { @Produces + @ApplicationScoped + LoggingFeature myCustomLoggingFeature() { + LoggingFeature loggingFeature = new LoggingFeature(); + loggingFeature.setPrettyLogging(true); + return loggingFeature; + } +} ``` + + +Note that the `LoggingFeature` is available through the link:../extensions/quarkus-cxf-rt-features-logging.html[Logging Feature] extension. + ifdef::add-copy-button-to-env-var[] Environment variable: env_var_with_copy_button:+++QUARKUS_CXF_ENDPOINT__ENDPOINTS__FEATURES+++[] endif::add-copy-button-to-env-var[] @@ -846,7 +857,7 @@ quarkus.cxf.endpoint.myClient.features = org.apache.cxf.ext.logging.LoggingFeatu -Note that the `LoggingFeature` is available through the link:../quarkus-cxf-rt-features-metrics.html[Logging Feature] extension. +Note that the `LoggingFeature` is available through the link:../extensions/quarkus-cxf-rt-features-logging.html[Logging Feature] extension. ifdef::add-copy-button-to-env-var[] Environment variable: env_var_with_copy_button:+++QUARKUS_CXF_CLIENT__CLIENTS__FEATURES+++[] diff --git a/docs/modules/ROOT/pages/user-guide/common-problems-troubleshooting.adoc b/docs/modules/ROOT/pages/user-guide/common-problems-troubleshooting.adoc index be554906c..1ea775937 100644 --- a/docs/modules/ROOT/pages/user-guide/common-problems-troubleshooting.adoc +++ b/docs/modules/ROOT/pages/user-guide/common-problems-troubleshooting.adoc @@ -43,7 +43,7 @@ public class WeatherWebServiceImpl implements WeatherWebService { ---- After that, you would need to specify the root context for your CXF web services, as indicated -in the link:properties.adoc#quarkus.cxf.path[properties documentation] to split the REST (with RESTEasy for example) +in the link:../reference/extensions/quarkus-cxf.html#quarkus-cxf_quarkus.cxf.path[configuration documentation] to split the REST (with RESTEasy for example) and SOAP routes based on their root context paths. CXF's SOAP properties: diff --git a/extensions/core/runtime/src/main/java/io/quarkiverse/cxf/CxfClientConfig.java b/extensions/core/runtime/src/main/java/io/quarkiverse/cxf/CxfClientConfig.java index 405106613..f3d5d1305 100644 --- a/extensions/core/runtime/src/main/java/io/quarkiverse/cxf/CxfClientConfig.java +++ b/extensions/core/runtime/src/main/java/io/quarkiverse/cxf/CxfClientConfig.java @@ -76,7 +76,8 @@ public class CxfClientConfig { * quarkus.cxf.endpoint.myClient.features = org.apache.cxf.ext.logging.LoggingFeature * *
- * Note that the {@code LoggingFeature} is available through the Logging + * Note that the {@code LoggingFeature} is available through the + * Logging * Feature extension. */ @ConfigItem diff --git a/extensions/core/runtime/src/main/java/io/quarkiverse/cxf/CxfEndpointConfig.java b/extensions/core/runtime/src/main/java/io/quarkiverse/cxf/CxfEndpointConfig.java index 3dfa1ea97..315450317 100644 --- a/extensions/core/runtime/src/main/java/io/quarkiverse/cxf/CxfEndpointConfig.java +++ b/extensions/core/runtime/src/main/java/io/quarkiverse/cxf/CxfEndpointConfig.java @@ -60,7 +60,7 @@ public class CxfEndpointConfig { * class Producers { * * @Produces - * @ApplicationScoped + * @ApplicationScoped * LoggingFeature myCustomLoggingFeature() { * LoggingFeature loggingFeature = new LoggingFeature(); * loggingFeature.setPrettyLogging(true); @@ -69,7 +69,8 @@ public class CxfEndpointConfig { * } * *
- * Note that the {@code LoggingFeature} is available through the Logging + * Note that the {@code LoggingFeature} is available through the + * Logging * Feature extension. */ @ConfigItem