报告当前版本的 Spring Integration 基于 XML 的应用程序上下文中已弃用的 XML 元素。

有关详细信息,请参阅 迁移指南

示例:


<beans ... >
   <int:channel id="failChannel"
                dispatcher="failover"/> <!-- 此特性已被弃用,请改用调度程序子元素 -->
   <int:poller default="true">
     <int:cron-trigger  expression="5"/>  <!-- 此元素在 Spring Integration 2.1 中已被移除,请改用 'cron' 特性 -->
     <int:interval-trigger interval="3"/> <!--  此元素在 Spring Integration 2.1 中已被移除,请改用 interval-trigger 特性 -->
  </int:poller>
  <ftp:inbound-channel-adapter session-factory="ftpSessionFactory"
                               cache-sessions="false" <!--  This attribute is deprecated, use CachingSessionFactory instead -->
                               channel="channel"/>
</beans>