Spring integration warning Referenced bean 'org.springframework.scheduling.support.PeriodicTrigger#0' not found"

十年热恋 提交于 2019-12-11 02:00:53

问题


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" />

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.

{Edited:}


回答1:


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



来源:https://stackoverflow.com/questions/22954096/spring-integration-warning-referenced-bean-org-springframework-scheduling-suppo

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!