ppalaga commented on code in PR #10266: URL: https://github.com/apache/camel/pull/10266#discussion_r1219366794
########## components/camel-cxf/camel-cxf-soap/src/main/docs/cxf-component.adoc: ########## @@ -1067,12 +1177,30 @@ http://cxf.apache.org/docs/jax-ws-configuration.html[JAX-WS Configuration page]. [NOTE] -==== +====== You can use cxf:properties to set the camel-cxf endpoint's dataFormat and setDefaultBus properties from spring configuration file. +[tabs] +==== +Java:: ++ +[source,java] +---- +from("direct:a") Review Comment: Copy and paste error, sorry! Thanks for catching it @llowinge! ########## components/camel-cxf/camel-cxf-soap/src/main/docs/cxf-component.adoc: ########## @@ -749,11 +825,44 @@ is removed in `RAW` mode), you have to configure `LoggingOutInterceptor` to be run during the `WRITE` phase. The following is an example. +[tabs] +==== +Java:: ++ +[source,java] +---- +import java.util.List; +import org.apache.camel.builder.RouteBuilder; +import org.apache.camel.component.cxf.common.DataFormat; +import org.apache.camel.component.cxf.jaxws.CxfEndpoint; +import org.apache.cxf.interceptor.LoggingOutInterceptor; +import org.apache.cxf.phase.Phase; +import jakarta.enterprise.context.SessionScoped; +import jakarta.enterprise.inject.Produces; +import jakarta.inject.Named; + +... + +@Produces Review Comment: I am not sure. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
