Child pages
  • CXF

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added the instruction of how to change the cxf default logger to log4j


You can find more advanced examples which show how to provide interceptors and properties here:

How to let camel-cxf component to use log4j instead of java.util.logging

CXF's default logger is using java.util.logging, if you want to change it to log4j.
Here is the instruction: Create a file, in the classpath, named META-INF/cxf/org.apache.cxf.logger.This file should contain the fully-qualified name of the class (org.apache.cxf.common.logging.Log4jLogger), with no comments, on a single line.

How to consume the message from the camel-cxf endpoint in POJO data format