【发布时间】:2016-07-22 09:15:00
【问题描述】:
我有一个 spring 集成配置文件,例如:
<int-jms:inbound-channel-adapter
channel="fromjmsRecon"
jms-template="jmsTemplate"
destination-name="com.mycompany.inbound.recon">
<int:poller fixed-delay="3000" max-messages-per-poll="1"/>
</int-jms:inbound-channel-adapter>
<int:publish-subscribe-channel id="fromjmsRecon"/>
<int:service-activator input-channel="fromjmsRecon"
ref="processInboundReconFile"
method="execute"/>
... 10 More inbound channels ...
<int-jms:inbound-channel-adapter
channel="fromjmsVanRecon"
jms-template="jmsTemplate"
destination-name="com.mycompany.inbound.another">
<int:poller fixed-delay="3000" max-messages-per-poll="1"/>
</int-jms:inbound-channel-adapter>
<int:publish-subscribe-channel id="fromjmsVanRecon"/>
<int:service-activator input-channel="fromjmsVanRecon"
ref="processInboundAnother"
method="execute"/>
</beans>
有 11 个入站通道适配器。前 10 个连接到 ActiveMQ,但第 11 个从不连接。这些适配器的列出顺序无关紧要,第 11 个总是被忽略。服务适配器已初始化,但通道适配器从未连接到 ActiveMQ。
入站通道适配器的数量是否有限制?我可以在某处设置一个属性来更改此限制吗?
感谢您的帮助。
【问题讨论】:
标签: java spring jms spring-integration