activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael André Pearce <>
Subject Re: PooledConnectionFactory: createConnection results in log entry "Successfully connected to ..."
Date Tue, 04 Jul 2017 07:31:17 GMT
Hi Jochen

Could I suggest maybe looking at the test cases how they're using it and see what maybe different
in your code?

In particular look at testConnectionsArePooled


Sent from my iPhone

> On 4 Jul 2017, at 06:17, jochenw <> wrote:
> Hi Mike,
> thanks for the answer. Of course I have checked this . It says: "A JMS
> provider which pools Connection, Session and MessageProducer instances so it
> can be used with tools like Camel and Spring's JmsTemplate and
> MessagListenerContainer. Connections, sessions and producers are returned to
> a pool after use so that they can be reused later without having to undergo
> the cost of creating them again."
> However, I can see the log entries "Successfully connected to
> tcp://" all the time - I would have expected that when the
> first connections have been created, they are reused from the pool, and
> there will be no more messages in the log file that a connection to the
> broker has been made.
> Cheers,
> Jochen
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at

  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message