activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noel OConnor <noel.ocon...@gmail.com>
Subject Re: How to create multiple subscribers and producers in a application
Date Tue, 12 Aug 2014 23:54:18 GMT
The spring dlmc opens a connection to send a message and then closes the
connection. This puts a lot of load on the broker. Using a pooled
connection factory gets around this by reusing the connections.
On Aug 12, 2014 9:14 PM, "Sophia Wright" <sophiawright43@gmail.com> wrote:

> 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
>
>
>
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/How-to-create-multiple-subscribers-and-producers-in-a-application-tp4684440.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message