第 260 章 OSGi PAX Logging 组件
从 Camel 版本 2.6 开始提供
paxlogging
组件可用于在 OSGi 环境中接收 PaxLogging 事件并处理它们。
260.1. 依赖项
Maven 用户需要把以下依赖项添加到其 pom.xml
中
<dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-paxlogging</artifactId> <version>${camel-version}</version> </dependency>
其中 ${camel-version
} 必须替换为 Camel 的实际版本(2.6.0 或更高版本)。