Which is better: PooledConnectionFactory or CachingConnectionFactory?

前端 未结 2 1866
别那么骄傲
别那么骄傲 2020-12-12 16:03

We use Spring (3.2.4) with ActiveMQ (5.8.0) in Tomcat (7.0.41) and it is not clear what the best usage. We want to use JmsTemplate to produce and MessageListenerContainer to

2条回答
  •  一整个雨季
    2020-12-12 16:22

    But disadvantage of spring implementation - it does not supports XA transactions. But activemq implementation supports it (XAPooledConnectionFactory). So, i'd say if you using JMS with other resources and even with another jms broker and want do it transacted - use activemq implementation. And of course, PooledConnectionFactory will work with any JMS compliant MOM too

提交回复
热议问题