You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 21 Next »

CXF Features

The following elements can appear as child elements of the features element in the http://org.apache.cxf/core, http://org.apache.cxf/jaxws and http://org.apache.cxf/jaxrs namespaces:

Name

Namespace

Description

Implementation Class

Module

addressing

http://cxf.apache.org/ws/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

...

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

cxf-rt-bindings-coloc

failover

http://cxf.apache.org/clustering

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

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

...

org.apache.cxf.management.interceptor.ResponseTimeFeature

cxt-rt-management

bean

spring/blueprint

...

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.jaxrs.swagger.SwaggerFeature

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

org.apache.cxf.jaxrs.swagger.Swagger2Feature

cxf-rt-rs-service-description

bean

spring/blueprint

XSLT based inbound and/or outbound transformations.

org.apache.cxf.feature.transform.XSLTFeature

cxf-core

Where the namespace is spring/blueprint and the 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 specified) 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".

  • No labels