草庐IT

PooledConnectionFactory

全部标签

java - 哪个更好: PooledConnectionFactory or CachingConnectionFactory?

我们在Tomcat(7.0.41)中使用Spring(3.2.4)和ActiveMQ(5.8.0),目前尚不清楚最佳用法。我们想用JmsTemplate来生产,用MessageListenerContainer来接收消息。我们应该在接收端使用缓存吗?(relatedlink)使用ActiveMQ和故障转移工作CachingConnectionFactory?(relatedlink)使用PooledConnectionFactory时需要设置useAsyncSend="true"吗?(relatedlink) 最佳答案 来自here

java - 哪个更好: PooledConnectionFactory or CachingConnectionFactory?

我们在Tomcat(7.0.41)中使用Spring(3.2.4)和ActiveMQ(5.8.0),目前尚不清楚最佳用法。我们想用JmsTemplate来生产,用MessageListenerContainer来接收消息。我们应该在接收端使用缓存吗?(relatedlink)使用ActiveMQ和故障转移工作CachingConnectionFactory?(relatedlink)使用PooledConnectionFactory时需要设置useAsyncSend="true"吗?(relatedlink) 最佳答案 来自here