added userName/password properties for easier configuration

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@658266 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
James Strachan 2008-05-20 14:57:54 +00:00
parent d8b5d5c4cd
commit 926ce535e5
1 changed files with 8 additions and 0 deletions

View File

@ -71,6 +71,14 @@ public class ActiveMQComponent extends JmsComponent {
getConfiguration().setBrokerURL(brokerURL);
}
public void setUserName(String userName) {
getConfiguration().setUserName(userName);
}
public void setPassword(String password) {
getConfiguration().setPassword(password);
}
public boolean isExposeAllQueues() {
return exposeAllQueues;
}