Versions Compared

Key

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

How

...

CXF configuration works

CXF supports configuration through a variety of means - the API, Spring bean definitions, and configuration embedded inside the WSDL. Configuration for a component typically breaks down like so:
1. Write a schema for your Spring configuration. Optional: If you wish to allow snippets of configuration inside the WSDL, create schema types which can be referenced by both your Spring configuration and your WSDL.
2. Generate JAXB types for the XSD in #1
3. Create configuration properties on your bean by using the JAXB generated types
4. Write a BeanDefinitionParser for Spring

Adding configuration support for your component in CXF

Let's say we want to add configuration for an HTTP Conduit inside CXF.

TODO: Example forthcoming...TODO

Rules of Configuration

Please follow the following guidelines when writing configuration related code in CXF.

...