Spring integration 全局导线抽头的正确配置

Spring integration 全局导线抽头的正确配置,spring-integration,Spring Integration,我正在使用SpringIntegration4.3.9 我需要使用全局导线抽头 我有以下配置: <int:wire-tap pattern="*" order="2" channel="logger"/> <int:logging-channel-adapter id="logger" level="INFO"

我正在使用SpringIntegration4.3.9

我需要使用
全局导线抽头

我有以下配置:

<int:wire-tap pattern="*" 
              order="2" 
              channel="logger"/>

<int:logging-channel-adapter id="logger" 
                             level="INFO"
                             log-full-message="true"

                             /> 

<int:channel id="channel"
             datatype="com.manuel.jordan.message.Message" >
...

...
我不知道以前的配置缺少什么。我在控制台输出中看不到关于日志记录的任何特殊内容

我通过以下链接进行了研究。”似乎“一切都是正确的”


该应用程序工作正常,显示我自己的日志,但在有线点击中没有显示任何内容。您应该记住,默认情况下,
日志通道适配器
将日志记录到
org.springframework.integration.handler
类别。因此,如果没有为提供的
INFO
级别打开该选项,您应该这样做


或者为
INFO
级别提供
logger name

有效,我使用了第二种方法。谢谢您。