ScArcher2
ScArcher2

Reputation: 87287

How do I take advantage of Connection Pooling with Apache Active MQ?

I'd like to know how to properly use connection pooling with Active MQ.

Currently I have a Connection Factory that creates a new connection every time I want to send a message.

I'd like to be able to pool Connections so I don't incur the overhead of connecting every time.

Upvotes: 0

Views: 2059

Answers (1)

Dejan Bosanac
Dejan Bosanac

Reputation: 198

you need to use activemq-pool module and PooledConnectionFactory.

See http://activemq.apache.org/spring-support.html for some more info on the topic

Upvotes: 1

Related Questions