activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bsny...@apache.org
Subject svn commit: r789852 - in /activemq/tags/activemq-5.2.0/activemq-core/src/main/java/org/apache/activemq/transport/tcp: ExceededMaximumConnectionsException.java TcpTransportServer.java
Date Tue, 30 Jun 2009 17:53:52 GMT
Author: bsnyder
Date: Tue Jun 30 17:53:51 2009
New Revision: 789852

URL: http://svn.apache.org/viewvc?rev=789852&view=rev
Log:
Backing out revision 789520. I mistakenly made a commit to the 5.2.0 tag for AMQ-1928

Removed:
    activemq/tags/activemq-5.2.0/activemq-core/src/main/java/org/apache/activemq/transport/tcp/ExceededMaximumConnectionsException.java
Modified:
    activemq/tags/activemq-5.2.0/activemq-core/src/main/java/org/apache/activemq/transport/tcp/TcpTransportServer.java

Modified: activemq/tags/activemq-5.2.0/activemq-core/src/main/java/org/apache/activemq/transport/tcp/TcpTransportServer.java
URL: http://svn.apache.org/viewvc/activemq/tags/activemq-5.2.0/activemq-core/src/main/java/org/apache/activemq/transport/tcp/TcpTransportServer.java?rev=789852&r1=789851&r2=789852&view=diff
==============================================================================
--- activemq/tags/activemq-5.2.0/activemq-core/src/main/java/org/apache/activemq/transport/tcp/TcpTransportServer.java
(original)
+++ activemq/tags/activemq-5.2.0/activemq-core/src/main/java/org/apache/activemq/transport/tcp/TcpTransportServer.java
Tue Jun 30 17:53:51 2009
@@ -381,10 +381,8 @@
     protected final void handleSocket(Socket socket) {
         try {
             if (this.currentTransportCount >= this.maximumConnections) {
-                throw new ExceededMaximumConnectionsException("Exceeded the maximum " + 
-                        "number of allowed client connections. See the 'maximumConnections'
" + 
-                        "property on the TCP transport configuration URI in the ActiveMQ
configuration file (e.g., activemq.xml)"); 
-            } else {
+             
+            }else {
             HashMap<String, Object> options = new HashMap<String, Object>();
             options.put("maxInactivityDuration", Long
                     .valueOf(maxInactivityDuration));



Mime
View raw message