【发布时间】:2014-01-23 10:56:35
【问题描述】:
我正在使用消息驱动通道适配器从 weblogic JMS 队列接收 xml 消息作为字符串,然后将此消息传递到 spring 集成通道以存储到数据库中,转换为不同的 xml,然后发送将 xml 转换为另一个远程 weblogic JMS 队列。
我的疑问是,我设置了 concurrent-consumers="30" , max-concurrent-consumers="100" , idle-consumer-limit="50" 这是正确的吗?
我必须为concurrent-consumers、max-concurrent-consumers、idle-consumer-limit设置什么值才能在生产系统中获得最佳性能,而且我们每分钟会收到超过10K条消息生产系统。
<int-jms:message-driven-channel-adapter
id="jmsInputQueueAdaptor_DX" channel="requestChannel" connection-factory="connectionFactory" destination="cbcmInputQueue_DX"
error-channel="errorChannel"
concurrent-consumers="30"
max-concurrent-consumers="100"
idle-consumer-limit="50"
receive-timeout="500"
send-timeout="500"
acknowledge="auto"
/>
【问题讨论】:
标签: java spring jms integration weblogic12c