packages java-mockobjects-0.10dev-MockConnection.patch
      Pages: < 1 >  DOWNLOAD      
--- src/j2ee/common/com/mockobjects/jms/MockConnection.java	2003-03-18 15:28:44.000000000 +0100
+++ src/j2ee/common/com/mockobjects/jms/MockConnection.java-gil	2011-03-05 16:48:35.000000000 +0100
@@ -1,9 +1,14 @@
 package com.mockobjects.jms;
 
 import javax.jms.Connection;
+import javax.jms.ConnectionConsumer;
 import javax.jms.ConnectionMetaData;
+import javax.jms.Destination;
 import javax.jms.ExceptionListener;
 import javax.jms.JMSException;
+import javax.jms.ServerSessionPool;
+import javax.jms.Session;
+import javax.jms.Topic;
 import com.mockobjects.ExpectationCounter;
 import com.mockobjects.MockObject;
 
@@ -74,4 +79,20 @@
             throw myException;
         }
     }
+
+    public ConnectionConsumer createDurableConnectionConsumer(Topic topic,String subscriptionName,String messageSelector,ServerSessionPool sessionPool,int maxMessages) throws JMSException { 
+        notImplemented();
+        return null;
+    }
+
+    public ConnectionConsumer createConnectionConsumer(Destination destination,String messageSelector,ServerSessionPool sessionPool,int maxMessages) throws JMSException {
+        notImplemented();
+        return null;
+    }
+
+    public Session createSession(boolean transacted,int acknowledgeMode) throws JMSException {
+        notImplemented();
+        return null;
+    }
+
 }