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.
