Spring 集成警告未找到引用的 bean 'org.springframework.scheduling.support.PeriodicTrigger#0' [英] Spring integration warning Referenced bean 'org.springframework.scheduling.support.PeriodicTrigger#0' not found"

查看:67
本文介绍了Spring 集成警告未找到引用的 bean 'org.springframework.scheduling.support.PeriodicTrigger#0'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的项目中使用 Spring-integration 4.0.0.M4,在我的 spring-integration.xml 中,我使用:

I am using Spring-integration 4.0.0.M4 in my project, and in my spring-integration.xml, I use :

    <int:channel id="messages" >
    <int:queue />
    <int:interceptors>
        <int:wire-tap channel="logger" />
    </int:interceptors>
</int:channel>

    <int:service-activator id="myService"
    input-channel="messages" output-channel="nullChannel" ref="processor"
    method="processNotif">
    <int:poller task-executor="pool" fixed-rate="10" error-channel="errorChannel" max-messages-per-poll="1" />
</int:service-activator>
<task:executor id="pool" pool-size="5-25" queue-capacity="20" rejection-policy="DISCARD_OLDEST"
    keep-alive="120" />

我有警告:未找到引用的 bean 'org.springframework.scheduling.support.PeriodicTrigger#0'"和未找到引用的 bean 'org.springframework.integration.channel.interceptor.WireTap#0'".这是否意味着我错过了什么.这只是一个警告,但我想知道如何解决这个问题.

I have warning: " Referenced bean 'org.springframework.scheduling.support.PeriodicTrigger#0' not found" and "Referenced bean 'org.springframework.integration.channel.interceptor.WireTap#0' not found". Did that means that I miss something. It is just a warning but I would like to know how to fix this.

{已}

推荐答案

上述问题已在 STS 3.7.0 中修复.有关详细信息,请参阅 JIRA .

The mentioned issue has been fixed in the STS 3.7.0. See the JIRA ticket for more information.

这篇关于Spring 集成警告未找到引用的 bean 'org.springframework.scheduling.support.PeriodicTrigger#0'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆