qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Crist" <colincr...@hermesjms.com>
Subject Couple of minor patches, qpid-server.bat and AMQConnectionFactory.java
Date Mon, 04 Sep 2006 10:37:00 GMT
 
Hi,
 
Could someone review and apply these patches? I need the second one for QPID
to work with HermesJMS.
 
Regards,
 
Colin.
http://hermesjms.com
 
1. /etp/blaze/java/broker/bin/qpid-server.bat:
 
Index: qpid-server.bat
===================================================================
--- qpid-server.bat (revision 402)
+++ qpid-server.bat (working copy)
@@ -48,7 +48,6 @@
 
 set LAUNCH_JAR=%QPID_HOME%\lib\broker-launch.jar
 set MODULE_JARS=%QPID_HOME%\lib\bdbstore-launch.jar
-%JAVA_HOME%\bin\java -server -Xmx1024m -DQPID_HOME="%QPID_HOME%" -cp
-"%LAUNCH_JAR%;%MODULE_JARS%" org.apache.qpid.server.Main *
+"%JAVA_HOME%"\bin\java -server -Xmx1024m -DQPID_HOME="%QPID_HOME%" -cp
"%LAUNCH_JAR%;%MODULE_JARS%" org.apache.qpid.server.Main *
 
 :end
 
2.
etp/blaze/java/client/src/org/apache/qpid/client/AMQConnectionFactory.java
 
c:/work/svn-projects/etp/blaze/java/client/src/org/apache/qpid/client $ svn
diff
Index: AMQConnectionFactory.java
===================================================================
--- AMQConnectionFactory.java (revision 402)
+++ AMQConnectionFactory.java (working copy)
@@ -41,6 +41,10 @@
     private ConnectionURL _connectionDetails;
 
 
+    public AMQConnectionFactory()
+    {
+    }
+
     public AMQConnectionFactory(String url)
     {
         _connectionDetails = new AMQConnectionURL(url);
@@ -75,6 +79,11 @@
         _defaultPassword = password;
     }
 
+    public final String getDefaultPassword()
+    {
+ return _defaultPassword ;
+    }
+
     /**
      * @param username The _defaultUsername to set.
      */
@@ -83,6 +92,11 @@
         _defaultUsername = username;
     }
 
+    public final String getDefaultUsername()
+    {
+ return _defaultUsername ;
+    }
+
     /**
      * @param _host The _host to set.
      */
@@ -91,6 +105,11 @@
         this._host = _host;
     }
 
+    public final String getHost()
+    {
+ return _host ;
+    }
+
     /**
      * @param _port The _port to set.
      */
@@ -99,6 +118,11 @@
         this._port = _port;
     }
 
+    public final int getPort()
+    {
+ return _port ;
+    }
+
     /**
      * @param path The _virtualPath to set.
      */
@@ -107,6 +131,11 @@
         _virtualPath = path;
     }
 
+    public final String getVirtualPath()
+    {
+ return _virtualPath ;
+    }
+
     static String getUniqueClientID()
 
 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message