【问题标题】:Spring-integration-jdbc. What Is the replacement for the missing attribute 'max-rows-per-poll' for 'stored-proc-inbound-channel-adapter'?弹簧集成-jdbc。 'stored-proc-inbound-channel-adapter' 的缺失属性 'max-rows-per-poll' 的替代品是什么?
【发布时间】:2018-07-16 12:01:48
【问题描述】:

Spring-integration-jdbc 5.0.6.RELEASE.
我发现“stored-proc-inbound-channel-adapter”不再具有属性“max-rows-per-poll”。它的替代品是什么?

【问题讨论】:

    标签: java spring spring-integration


    【解决方案1】:

    <int-jdbc:stored-proc-inbound-channel-adapter> 从未有过max-rows-per-poll 选项。这是Reference Manual 中的一个错误。我认为这是从常规<int-jdbc:inbound-channel-adapter> 描述中复制/粘贴的愚蠢结果。

    不知道你为什么谈论<int-jdbc:stored-proc-inbound-channel-adapter> 和那个版本,但事实上<int-jdbc:inbound-channel-adapter> 现在在5.1 版本中需要max-rows。尽管如此,max-rows-per-poll 仍然存在,尽管已被弃用。

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2018-10-14
    • 1970-01-01
    • 2014-12-24
    • 2014-05-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-11-11
    相关资源
    最近更新 更多