7a1199c475
Inbound sessions are always created from the same ActiveMQConnectionFactory which means the load-balancing policy is applied to them in the expected manner. However, outbound sessions are created from independent, unique ActiveMQConnectionFactory instances which means that the load-balancing doesn't follow the expected pattern. This commit changes this behavior by caching each unique ActiveMQConnectionFactory instance and using it for both inbound and outbound sessions potentially. This ensures the sessions are load-balanced as expected. |
||
---|---|---|
.. | ||
activemq5-unit-tests | ||
config | ||
extra-tests | ||
integration-tests | ||
jms-tests | ||
joram-tests | ||
performance-tests | ||
soak-tests | ||
stress-tests | ||
timing-tests | ||
unit-tests | ||
pom.xml |