1   package ch.qos.logback.classic.net.mock;
2   
3   import javax.jms.ConnectionConsumer;
4   import javax.jms.ConnectionMetaData;
5   import javax.jms.Destination;
6   import javax.jms.ExceptionListener;
7   import javax.jms.JMSException;
8   import javax.jms.Queue;
9   import javax.jms.QueueConnection;
10  import javax.jms.QueueSession;
11  import javax.jms.ServerSessionPool;
12  import javax.jms.Session;
13  import javax.jms.Topic;
14  
15  public class MockQueueConnection implements QueueConnection {
16  
17    MockQueueSession session = new MockQueueSession();
18    
19    public QueueSession createQueueSession(boolean arg0, int arg1) throws JMSException {
20      return session;
21    }
22  
23    public ConnectionConsumer createConnectionConsumer(Queue arg0, String arg1, ServerSessionPool arg2, int arg3) throws JMSException {
24      
25      return null;
26    }
27    
28    public void close() throws JMSException {
29      
30      
31    }
32  
33    public ConnectionConsumer createConnectionConsumer(Destination arg0, String arg1, ServerSessionPool arg2, int arg3) throws JMSException {
34      
35      return null;
36    }
37  
38    public ConnectionConsumer createDurableConnectionConsumer(Topic arg0, String arg1, String arg2, ServerSessionPool arg3, int arg4) throws JMSException {
39      
40      return null;
41    }
42  
43    public Session createSession(boolean arg0, int arg1) throws JMSException {
44      
45      return null;
46    }
47  
48    public String getClientID() throws JMSException {
49      
50      return null;
51    }
52  
53    public ExceptionListener getExceptionListener() throws JMSException {
54      
55      return null;
56    }
57  
58    public ConnectionMetaData getMetaData() throws JMSException {
59      
60      return null;
61    }
62  
63    public void setClientID(String arg0) throws JMSException {
64      
65      
66    }
67  
68    public void setExceptionListener(ExceptionListener arg0) throws JMSException {
69      
70      
71    }
72  
73    public void start() throws JMSException {
74      
75      
76    }
77  
78    public void stop() throws JMSException {
79      
80      
81    }
82  
83  }