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

cxf-rt

org.apache.cxf.clustering.CircuitBreakerFailoverFeature

cxf-core

bean

loadDistributor

http://
springframework.orgImage Removed
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.

databinding

feature.

stax.StaxDataBindingFeature

LoggingFeature

cxf

-rt

-core

bean

policies

http://
springframework
cxf.apache.org
Image Removed ..
/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.

management

ws.

interceptor

policy.

ResponseTimeFeature

WSPolicyFeature

cxt

cxf-rt-ws-

management

policy

addressing

reliableMessaging

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

Enables and controls the use of WS-

Addressing

RM.

org.apache.cxf.ws.rm.

addressing

feature.

WSAddressingFeature

RMFeature

cxf-rt-ws-

addr

rm

Policy

bean

http://www.w3.org/2006/07/ws-policyImage Removed

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-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-core

bean

spring/blueprint

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

org.apache.cxf.management.interceptor.ResponseTimeFeature

cxt-rt-management

bean

spring/blueprint

Uses Stax's XMLStreamReader as data binding

org.apache.cxf.databinding.stax.StaxDataBindingFeature

cxf-core

bean

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.

ws

jaxrs.

policy

swagger.

WSPolicyFeature

SwaggerFeature

cxf-rt-rs-service-
ws
description-
policy
swagger
 
bean
http://schemas.xmlsoap.org/ws/2004/09/policyImage Removed

 

spring/blueprintEnables the generation of Swagger Spec 2.0 definitions from JAXRS endpoints

org.apache.cxf.jaxrs.swagger.Swagger2Feature

cxf-rt-rs-service-description-swagger

bean

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.jaxrs.openapi.OpenApiFeaturecxf-rt-rs-service-description-openapi-v3
beanspring/blueprintEnables the generation of OpenAPI v3.0 definitions from JAXRS endpointsorg.apache.cxf.jaxrs.microprofile.openapi.OpenApiFeaturecxf-rt-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".