Reputation: 2494
I want to use ActiveMQ in my current project, however I am little confused as to when to take advantage of multiple connections. Since we can create multiple producers in a single connection, then whats the need of having multiple connections.
I tried to find it online but unable to find any useful resource which can help me to understand it in depth.
It would be really helpful if someone can share his practical experiences of working with activemq and help us in understanding, when to create multiple connections for each producer and when to create multiple producer in a same connection.
Upvotes: 4
Views: 2570
Reputation: 4316
Connections:
Sessions:
Multiple Producers / Consumers
Note: In JMS 2.0, the JMSContext provides what is essentially a combined connection+session.
Upvotes: 4