每个mq消费者端启用4~10个并发

This commit is contained in:
shuzheng 2016-11-26 21:19:24 +08:00
parent 72aadf6fa8
commit 21b96ff84f
2 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,7 @@
<property name="connectionFactory" ref="connectionFactory"/>
<property name="destination" ref="defaultQueueDestination"/>
<property name="messageListener" ref="defaultQueueMessageListener"/>
<property name="concurrency" value="4-10"/>
</bean>
</beans>

View File

@ -40,6 +40,7 @@
<property name="connectionFactory" ref="connectionFactory"/>
<property name="destination" ref="defaultQueueDestination"/>
<property name="messageListener" ref="defaultQueueMessageListener"/>
<property name="concurrency" value="4-10"/>
</bean>
</beans>