Use cacheConsumers=false for CachingJmsCF
https://build.spring.io/browse/INTSAMPLES-NIGHTLY-2256 The `AggregatorDemoTest` fails sporadically with no second part from reply. That might be as a result of the cached consumers in the `CachingConnectionFactory`, so several `<int-jms:inbound-gateway>` for the topic using the same connectionFactory essentially end up using the same consumer sequentially. And Broker considers them as a single consumer, therefore only one message is sent.
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
</bean>
|
||||
</property>
|
||||
<property name="sessionCacheSize" value="10"/>
|
||||
<property name="cacheConsumers" value="false"/>
|
||||
</bean>
|
||||
|
||||
<bean id="requestQueue" class="org.apache.activemq.command.ActiveMQQueue">
|
||||
|
||||
Reference in New Issue
Block a user