activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r649617 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnector.java
Date Fri, 18 Apr 2008 17:19:51 GMT
Author: rajdavies
Date: Fri Apr 18 10:19:41 2008
New Revision: 649617

URL: http://svn.apache.org/viewvc?rev=649617&view=rev
Log:
Add back setBrokerName()

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnector.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnector.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnector.java?rev=649617&r1=649616&r2=649617&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnector.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnector.java
Fri Apr 18 10:19:41 2008
@@ -117,6 +117,14 @@
     public void setBrokerInfo(BrokerInfo brokerInfo) {
         this.brokerInfo = brokerInfo;
     }
+    
+    @Deprecated
+    public void setBrokerName(String name) {
+        if (this.brokerInfo==null) {
+            this.brokerInfo=new BrokerInfo();
+        }
+        this.brokerInfo.setBrokerName(name);
+    }
 
     public TransportServer getServer() throws IOException, URISyntaxException {
         if (server == null) {



Mime
View raw message