Can we have multiple jms destinations connected to a same Spring cachingconnectingFactory

时间:2016-02-12 21:37:25

标签: spring jms spring-jms

I am consuming events from multiple Jms destinations. Can I use the same CachingConnectionFactory for subscribing events from all of the Jms destinations

1 个答案:

答案 0 :(得分:0)

Yes; that's generally the approach - they all share the same connection but have different sessions.