activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r415307 - in /incubator/activemq/trunk/activemq-optional/src/main/java/org/apache/activemq/transport/http: BlockingQueueTransport.java HttpTransport.java HttpTransportSupport.java
Date Mon, 19 Jun 2006 12:33:07 GMT
Author: jstrachan
Date: Mon Jun 19 05:33:07 2006
New Revision: 415307

URL: http://svn.apache.org/viewvc?rev=415307&view=rev
Log:
applied patch from Jason Sherman for AMQ-753 to expose the remote connection address in JMX
- many thanks!

Modified:
    incubator/activemq/trunk/activemq-optional/src/main/java/org/apache/activemq/transport/http/BlockingQueueTransport.java
    incubator/activemq/trunk/activemq-optional/src/main/java/org/apache/activemq/transport/http/HttpTransport.java
    incubator/activemq/trunk/activemq-optional/src/main/java/org/apache/activemq/transport/http/HttpTransportSupport.java

Modified: incubator/activemq/trunk/activemq-optional/src/main/java/org/apache/activemq/transport/http/BlockingQueueTransport.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-optional/src/main/java/org/apache/activemq/transport/http/BlockingQueueTransport.java?rev=415307&r1=415306&r2=415307&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-optional/src/main/java/org/apache/activemq/transport/http/BlockingQueueTransport.java
(original)
+++ incubator/activemq/trunk/activemq-optional/src/main/java/org/apache/activemq/transport/http/BlockingQueueTransport.java
Mon Jun 19 05:33:07 2006
@@ -56,6 +56,11 @@
         }
     }
 
+    
+    public String getRemoteAddress() {
+        return "blockingQueue";
+    }
+
     protected void doStart() throws Exception {
     }
 

Modified: incubator/activemq/trunk/activemq-optional/src/main/java/org/apache/activemq/transport/http/HttpTransport.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-optional/src/main/java/org/apache/activemq/transport/http/HttpTransport.java?rev=415307&r1=415306&r2=415307&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-optional/src/main/java/org/apache/activemq/transport/http/HttpTransport.java
(original)
+++ incubator/activemq/trunk/activemq-optional/src/main/java/org/apache/activemq/transport/http/HttpTransport.java
Mon Jun 19 05:33:07 2006
@@ -120,8 +120,7 @@
             }
         }
     }
-    
-    
+ 
 
     // Implementation methods
     // -------------------------------------------------------------------------

Modified: incubator/activemq/trunk/activemq-optional/src/main/java/org/apache/activemq/transport/http/HttpTransportSupport.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-optional/src/main/java/org/apache/activemq/transport/http/HttpTransportSupport.java?rev=415307&r1=415306&r2=415307&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-optional/src/main/java/org/apache/activemq/transport/http/HttpTransportSupport.java
(original)
+++ incubator/activemq/trunk/activemq-optional/src/main/java/org/apache/activemq/transport/http/HttpTransportSupport.java
Mon Jun 19 05:33:07 2006
@@ -41,6 +41,10 @@
 
     // Properties
     // -------------------------------------------------------------------------
+    public String getRemoteAddress() {
+        return remoteUrl.toString();
+    }
+
     public URI getRemoteUrl() {
         return remoteUrl;
     }



Mime
View raw message