activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sophia Wright <sophiawrigh...@gmail.com>
Subject Changes to user name and password in ConnectionInfo not working
Date Tue, 05 Nov 2013 10:28:05 GMT
Hi there,

I am seeing a strange issue. I am using a TransportListener to detect
transport interrupted events and when this happens, I am changing the user
name and password in ActiveMQConnectionFactory as well as in the
ActiveMQConnection.getConnectionInfo() objects (using setUserName and
setPassword methods). My requirement is that everytime broker crashes and
restarts, I want to suppy a different user name and password fields.

These new user name and password are not being sent to the broker upon
restart. Could somebody please help why? Upon restart, the broker is seeing
previous user name and password fields in the connection info objects in
addConnection() method in a plugin. Does the broker persist this
information?

=Sophia=



--
View this message in context: http://activemq.2283324.n4.nabble.com/Changes-to-user-name-and-password-in-ConnectionInfo-not-working-tp4673891.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message