File mockobjects-MockSession.patch of Package mockobjects
--- src/j2ee/common/com/mockobjects/jms/MockSession.java.sav 2003-08-11 11:14:38.000000000 +0200
+++ src/j2ee/common/com/mockobjects/jms/MockSession.java 2006-05-05 19:14:25.000000000 +0200
@@ -115,4 +115,76 @@
throw myException;
}
}
+
+ public void unsubscribe(String name) throws JMSException {
+ if (null != myException) {
+ throw myException;
+ }
+ }
+
+ public TemporaryTopic createTemporaryTopic() throws JMSException {
+ notImplemented();
+ return null;
+ }
+
+ public TemporaryQueue createTemporaryQueue() throws JMSException {
+ notImplemented();
+ return null;
+ }
+
+ public QueueBrowser createBrowser(Queue queue,String messageSelector) throws JMSException {
+ notImplemented();
+ return null;
+ }
+
+ public QueueBrowser createBrowser(Queue queue) throws JMSException {
+ notImplemented();
+ return null;
+ }
+
+ public TopicSubscriber createDurableSubscriber(Topic topic,String name,String messageSelector,boolean noLocal) throws JMSException {
+ notImplemented();
+ return null;
+ }
+
+ public TopicSubscriber createDurableSubscriber(Topic topic,String name) throws JMSException {
+ notImplemented();
+ return null;
+ }
+
+ public Topic createTopic(String topicName) throws JMSException {
+ notImplemented();
+ return null;
+ }
+
+ public Queue createQueue(String queueName) throws JMSException {
+ notImplemented();
+ return null;
+ }
+
+ public MessageConsumer createConsumer(Destination destination,String messageSelector,boolean noLocal) throws JMSException {
+ notImplemented();
+ return null;
+ }
+
+ public MessageConsumer createConsumer(Destination destination,String messageSelector) throws JMSException {
+ notImplemented();
+ return null;
+ }
+
+ public MessageConsumer createConsumer(Destination destination) throws JMSException {
+ notImplemented();
+ return null;
+ }
+
+ public MessageProducer createProducer(Destination destination) throws JMSException {
+ notImplemented();
+ return null;
+ }
+
+ public int getAcknowledgeMode() throws JMSException {
+ notImplemented();
+ return 0;
+ }
+
}