PaxLogging component

Available in Camel 2.6

The paxlogging component can be used in an OSGi environment to receive PaxLogging events and process them.


Maven users need to add the following dependency to their pom.xml


where ${camel-version} must be replaced by the actual version of Camel (2.6.0 or higher).

URI format


where appender is the name of the pax appender that need to be configured in the PaxLogging service configuration.

URI options

Name Default value Description

Message headers

NameTypeMessage Description

Message body

The in message body will be set to the received PaxLoggingEvent.

Example usage

    <from uri="paxlogging:camel"/>
    <to uri="stream:out"/>


log4j.rootLogger=INFO, out, osgi:VmLogAppender, osgi:camel
© 2004-2011 The Apache Software Foundation.
Apache Camel, Camel, Apache, the Apache feather logo, and the Apache Camel project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
Graphic Design By Hiram