Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following elements can appear as child elements of the features element in the http://org.apache.cxf/coreImage Removed, http://org.apache.cxf/jaxws and http://org.apache.cxf/jaxwsImage Removedjaxrs namespaces:

Name

Namespace

Description

Implementation Class

Module

logging

addressing

http://cxf.apache.org/ws/
coreImage Removed
addressing

Enables and controls the use of WS-Addressing.

org.apache.cxf.ws.addressing.WSAddressingFeature

cxf-rt-ws-addr

enableColoc

http://cxf.apache.org/binding/coloc

Allowing a direct service invocation to the service registered on the same bus as the client

Enables to log the content of outbound and inbound messages and faults

.

org.apache.cxf.binding.coloc.feature.

LoggingFeature

ColocFeature

cxf-rt-bindings-

core

coloc

failover

http://cxf.apache.org/clustering
Image Removed

Feature that allows clients to failover from the initial target endpoint to another, compatible endpoint for the target service.

org.apache.cxf.clustering.FailoverFeature

org.apache.cxf.clustering.CircuitBreakerFailoverFeature

cxf-core

loadDistributor

http://cxf.apache.org/clustering

Failover Feature extension that allows clients to distribute their calls

org.apache.cxf.clustering.LoadDistributorFeature

cxf-core

logging

http://cxf.apache.org/core

Enables to log the content of outbound and inbound messages and faults.

org.apache.cxf.feature.LoggingFeature

cxf-core

policies

http://cxf.apache.org/policy

Enables and controls the use of the WS-Policy Framework. Also serves as an attachment point for Policy and PolicyReference elements.

org.apache.cxf.ws.policy.WSPolicyFeature

cxf-rt

-core

bean

-ws-policy

reliableMessaging

http://cxf.apache.org/ws/rm/manager

Enables and controls the use of WS-RM.

org.apache.cxf.ws.rm.feature.RMFeature

cxf-rt-ws-rm

bean

spring/blueprint

Bean Validation 1.1 support

org.apache.cxf.validation.BeanValidationFeature

cxf-core

bean

spring/blueprint

...

Turns on use of FastInfoset to encode messages. The default is to negotiate the use of FastInfoset with the server as part of the first message, but a "force=true" property can force it, even on the first message.

org.apache.cxf.feature.FastInfosetFeature

cxf

-rt

-core

bean

...

spring/blueprint

Allows the use of gzip to compress the messages on the wire. The default is to negotiate the use of FastInfoset with the server as part of the first message, but a "force=true" property can force it, even on the first message.

org.apache.cxf.transport.http.gzip.GZIPFeature

cxf-

rt-transport-http

enableColoc

http://cxf.apache.org/binding/colocImage Removed

core

bean

spring/blueprint

Turns on collecting various performance and service invocation statistics values which can be accessed over JMX

...

org.apache.cxf.

binding

management.

coloc

interceptor.

feature.ColocFeature

ResponseTimeFeature

cxf

cxt-rt-

bindings-coloc

management

bean

http://springframework.orgImage Removed
spring/blueprint

Uses Stax's XMLStreamReader as data binding

...

org.apache.cxf.databinding.stax.StaxDataBindingFeature

cxf

-rt

-core

bean

http://springframework.orgImage Removed

...

spring/blueprint

Lightweight inbound and/or outbound transformations.

org.apache.cxf.feature.StaxTransformFeature

cxf-core

beanspring/blueprintEnables the generation of Swagger Spec 1.2 definitions from JAXRS endpoints

org.apache.cxf.

management

jaxrs.

interceptor

swagger.

ResponseTimeFeature

SwaggerFeature

cxt
cxf-rt
-management
-rs-service-description-swagger
beanspring/blueprintEnables the generation of Swagger Spec 2.0 definitions from JAXRS endpoints

addressing

http://cxf.apache.org/ws/addressingImage Removed Enables and controls the use of WS-Addressing.

org.apache.cxf.

ws

jaxrs.

addressing

swagger.

WSAddressingFeature

Swagger2Feature

cxf-rt-rs-
ws
service-description-
addr
swagger
policies

bean

http://cxf.apache.org/policy-configImage Removed Enables and controls the use of the WS-Policy Framework. Also serves as an attachment point for Policy and PolicyReference elements.

spring/blueprint

XSLT based inbound and/or outbound transformations.

org.apache.cxf.feature.transform.XSLTFeature

cxf-core

beanspring/blueprintEnables the generation of OpenAPI v3.0 definitions from JAXRS endpointsorg.apache.cxf.
ws
jaxrs.
policy
openapi.
WSPolicyFeature
OpenApiFeaturecxf-rt
-ws-policy

reliableMessaging

http://cxf.apache.org/ws/rm/managerImage Removed
-rs-service-description-openapi-v3
beanspring/blueprintEnables the generation of OpenAPI v3.0 definitions from JAXRS endpoints
Enables and controls the use of WS-RM.
org.apache.cxf.
ws
jaxrs.
rm
microprofile.
feature
openapi.
RMFeature
OpenApiFeaturecxf-rt-
ws-rm
rs-service-description-microprofile-openapi

Where the namespace is http://springframework.orgImage Removed spring/blueprint and the element name is bean, the child element must be a bean or a reference to a bean of the specified implementation class. In the case of custom beans (namespaces other than http://springframework.orgImage Removedspecified) you need not specify or be aware of the implementation class.

Note that the "cxf-core" module is available starting from CXF 3.0.0. In CXF 2.7.x or earlier use "cxf-rt-core".