Nope, that shouldn't be expected. It should only log that if the connection
is first created:

                            if (firstConnection) {
                                firstConnection = false;
                                LOG.info("Successfully connected to " +
uri);
                            } else {
                                LOG.info("Successfully reconnected to " +
uri);
                            }

Not sure what you mean here:

"I have 2 AMQ 5.7 brokers, one sends messages to the other via a
JMSTemplate/PooledConnectionFactory/FailoverTransport. "

2 brokers and one sends to the other using JmsTemplate?


On Mon, Dec 10, 2012 at 10:38 AM, boday <ben.o...@initekconsulting.com>wrote:

> String failoverBrokerUrl =
> "failover:tcp://localhost:61666?randomize=false&timeout=10000";
> ActiveMQConnectionFactory factory = new
> ActiveMQConnectionFactory(failoverBrokerUrl);
> PooledConnectionFactory pcf = new PooledConnectionFactory(factory);
> pcf.setMaximumActive(500);
> pcf.setMaxConnections(5);
> JMSTemplate jmsTemplate = new JmsTemplate(pcf);
> jmsTemplate.setSessionAcknowledgeMode(Session.CLIENT_ACKNOWLEDGE);
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta

Reply via email to