Skip to content

Commit

Permalink
Fix Quarkus CXF Path and Logging Feature broken links (#1073)
Browse files Browse the repository at this point in the history
  • Loading branch information
zbendhiba authored and ppalaga committed Oct 24, 2023
1 parent 476cc22 commit c597109
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 deletions.
13 changes: 12 additions & 1 deletion docs/modules/ROOT/pages/includes/quarkus-cxf.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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[]
Expand Down Expand Up @@ -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+++[]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ public class CxfClientConfig {
* quarkus.cxf.endpoint.myClient.features = org.apache.cxf.ext.logging.LoggingFeature
* </pre>
* <p>
* Note that the {@code LoggingFeature} is available through the <a href="../quarkus-cxf-rt-features-metrics.html">Logging
* Note that the {@code LoggingFeature} is available through the
* <a href="../extensions/quarkus-cxf-rt-features-logging.html">Logging
* Feature</a> extension.
*/
@ConfigItem
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public class CxfEndpointConfig {
* class Producers {
*
* &#64;Produces
* @ApplicationScoped
* &#64;ApplicationScoped
* LoggingFeature myCustomLoggingFeature() {
* LoggingFeature loggingFeature = new LoggingFeature();
* loggingFeature.setPrettyLogging(true);
Expand All @@ -69,7 +69,8 @@ public class CxfEndpointConfig {
* }
* </pre>
* <p>
* Note that the {@code LoggingFeature} is available through the <a href="../quarkus-cxf-rt-features-metrics.html">Logging
* Note that the {@code LoggingFeature} is available through the
* <a href="../extensions/quarkus-cxf-rt-features-logging.html">Logging
* Feature</a> extension.
*/
@ConfigItem
Expand Down

0 comments on commit c597109

Please sign in to comment.