Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

How to create multiple subscribers and producers in a application

$
0
0
Hi,

I want to create 7 producers and 5 durable consumers in my application
connecting to the same broker. I want to use spring Default message listener
container to create consumers and JMStemplate to create producers.

While reading I am confused about how connection factories should be used. I
was going through the posts and question about pooledConenctionFactory. Some
confusion:

1) Can I use "PooledConnectionFactory" for my use case. Would it cause any
trouble if I use durable subscriber and specify maxConnection in
"PooledConnectionFactory" to the required connections(12) ?

~ Sophia

Viewing all articles
Browse latest Browse all 5648

Latest Images

Trending Articles



Latest Images