activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctzlylc <ctzl...@163.com>
Subject ActiveMQ:About Encrypted passwords
Date Tue, 22 Sep 2015 03:38:49 GMT
In the description about Encrypted passwords, Note like this"*It is
recommended that you use only alphanumeric characters for the password.
Special characters, such as $/^&, are not supported*."
In fact,we can use complex password which include special characters, such
as !@#$%,and we can use it to get connect with ActiveMQ Server.
So,what is mean about the note?

<code>
		connectionFactory = new ActiveMQConnectionFactory(
				"admin",
				"Admin!@#$", "tcp://localhost:61616");
		try { 
			connection = connectionFactory.createConnection();

			connection.start();

			session = connection.createSession(Boolean.TRUE,
					Session.AUTO_ACKNOWLEDGE);

			destination = session.createQueue("FirstQueue");
</code>


credentials.properties:
activemq.username=admin
activemq.password=Admin!@#$
guest.password=password



--
View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-About-Encrypted-passwords-tp4702167.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message