File mockobjects-MockQueueConnectionFactory.patch of Package mockobjects

--- src/j2ee/common/com/mockobjects/jms/MockQueueConnectionFactory.java.sav	2003-03-18 15:28:44.000000000 +0100
+++ src/j2ee/common/com/mockobjects/jms/MockQueueConnectionFactory.java	2006-05-05 18:45:59.000000000 +0200
@@ -47,4 +47,16 @@
             throw myException;
         }
     }
-}
\ No newline at end of file
+
+    public Connection createConnection(String userName,String password) throws JMSException {
+        throwExceptionIfAny();
+        myUserName.setActual(userName);
+        myPassword.setActual(password);
+        return (Connection) myQueueConnection.getValue();
+    }
+
+    public Connection createConnection() throws JMSException {
+        throwExceptionIfAny();
+        return (Connection) myQueueConnection.getValue();
+    }
+}