activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r658266 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/camel/component/ActiveMQComponent.java
Date Tue, 20 May 2008 14:57:54 GMT
Author: jstrachan
Date: Tue May 20 07:57:54 2008
New Revision: 658266

URL: http://svn.apache.org/viewvc?rev=658266&view=rev
Log:
added userName/password properties for easier configuration

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/camel/component/ActiveMQComponent.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/camel/component/ActiveMQComponent.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/camel/component/ActiveMQComponent.java?rev=658266&r1=658265&r2=658266&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/camel/component/ActiveMQComponent.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/camel/component/ActiveMQComponent.java
Tue May 20 07:57:54 2008
@@ -71,6 +71,14 @@
         getConfiguration().setBrokerURL(brokerURL);
     }
 
+    public void setUserName(String userName) {
+        getConfiguration().setUserName(userName);
+    }
+
+    public void setPassword(String password) {
+        getConfiguration().setPassword(password);
+    }
+
     public boolean isExposeAllQueues() {
         return exposeAllQueues;
     }



Mime
View raw message