activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Pone <michael.a.p...@lmco.com>
Subject Re: problems setting username and password on the ActiveMQComponent using Java
Date Fri, 12 Jul 2013 17:45:10 GMT
That is good information.  I discovered that I can make it work if I change
the constructor to

final ActiveMQComponent component = new ActiveMQComponent(camelContext);
component.setBrokerURL(brokerUrl);
component.setUserName(userName);
component.setPassword(password); 

I am not sure why this makes a difference.



--
View this message in context: http://activemq.2283324.n4.nabble.com/problems-setting-username-and-password-on-the-ActiveMQComponent-using-Java-tp4669091p4669241.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Mime
View raw message