Can you elaborate on why you would front the broker with a proxy?  I'm not 
familiar with this use-case.


Justin

----- Original Message -----
From: "abhijith" <[email protected]>
To: [email protected]
Sent: Saturday, May 14, 2016 12:20:36 PM
Subject: [Artemis]  Bug in ServerLocatorImpl.createSessionFactory()

Hi,

I think there is a bug in ServerLocatorImpl.createSessionFactory() method. 
Issue is that if factory.connect(initialConnectAttempts,
failoverOnInitialConnection) is successful, it is always assumed that client
should be able to download Cluster Toplogy.

This might not be the case for any broker which is fronted with a proxy. 
Proxy always accepts connection regardless of broker behind is up or down. 
This method should try out all available initialConnectors to download
cluster topology before erroring out.

I raised this question in user forum and then looked into the code on
exactly what it is doing.  Please let me know if I am missing something
here.

Thanks
Abhi



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Artemis-Bug-in-ServerLocatorImpl-createSessionFactory-tp4711941.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Reply via email to