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

Compare with Current View Page History

« Previous Version 19 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

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

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

load distributor

http://cxf.apache.org/clustering

Failover Feature extension that allows clients to distribute their calls

org.apache.cxf.clustering.LoadDistributorFeature

cxf-core

bean

...

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

...

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

enableColoc

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

...

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

cxf-rt-bindings-coloc

bean

http://springframework.org

...

org.apache.cxf.databinding.stax.StaxDataBindingFeature

cxf-core

bean

http://springframework.org

...

org.apache.cxf.management.interceptor.ResponseTimeFeature

cxt-rt-management

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

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

Stax transform

...

Lightweight inbound and/or outbound transformations.

org.apache.cxf.feature.StaxTransformFeature

cxf-core

XSLT transform

...

XSLT based inbound and/or outbound transformations.

org.apache.cxf.feature.transform.XSLTFeature

cxf-core

Bean Validation

...

Bean Validation 1.1 support

org.apache.cxf.validation.BeanValidationFeature

cxf-core

Where the namespace is http://springframework.org 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.org) 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