activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gokhaled89 <>
Subject Re: ActiveMQ - 5.4.3: Set usernames and passwords.
Date Tue, 28 Apr 2015 05:29:12 GMT
I made the change in the activemq-security.xml inside conf/.

			<authenticationUser username="admin" password="admin"

I removed other users and enabled only group admin. When I consume or
publish the message, it accepts any username and password I provide.
In JAVA I used this:
ActiveMQConnectionFactory connectionFactory = new ActiveMQConnectionFactory(
				"admin", "xyz", messageBrokerUrl);

As you can see username password combination do not match. Still works for

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message