Class JMSConnectionMockupMQ.TestConnection

    • Field Summary

      Fields 
      Modifier and Type Field Description
      boolean isStarted  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected TestConnection()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      javax.jms.ConnectionConsumer createConnectionConsumer​(javax.jms.Destination destination, java.lang.String string, javax.jms.ServerSessionPool serverSessionPool, int i)  
      javax.jms.ConnectionConsumer createDurableConnectionConsumer​(javax.jms.Topic topic, java.lang.String string, java.lang.String string1, javax.jms.ServerSessionPool serverSessionPool, int i)  
      javax.jms.Session createSession​(boolean b, int i)  
      java.lang.String getClientID()  
      javax.jms.ExceptionListener getExceptionListener()  
      javax.jms.ConnectionMetaData getMetaData()  
      void setClientID​(java.lang.String string)  
      void setExceptionListener​(javax.jms.ExceptionListener exceptionListener)  
      void start()  
      void stop()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • createSession

        public javax.jms.Session createSession​(boolean b,
                                               int i)
                                        throws javax.jms.JMSException
        Specified by:
        createSession in interface javax.jms.Connection
        Throws:
        javax.jms.JMSException
      • start

        public void start()
                   throws javax.jms.JMSException
        Specified by:
        start in interface javax.jms.Connection
        Throws:
        javax.jms.JMSException
      • stop

        public void stop()
                  throws javax.jms.JMSException
        Specified by:
        stop in interface javax.jms.Connection
        Throws:
        javax.jms.JMSException
      • close

        public void close()
                   throws javax.jms.JMSException
        Specified by:
        close in interface javax.jms.Connection
        Throws:
        javax.jms.JMSException
      • setExceptionListener

        public void setExceptionListener​(javax.jms.ExceptionListener exceptionListener)
                                  throws javax.jms.JMSException
        Specified by:
        setExceptionListener in interface javax.jms.Connection
        Throws:
        javax.jms.JMSException
      • getExceptionListener

        public javax.jms.ExceptionListener getExceptionListener()
                                                         throws javax.jms.JMSException
        Specified by:
        getExceptionListener in interface javax.jms.Connection
        Throws:
        javax.jms.JMSException
      • getClientID

        public java.lang.String getClientID()
                                     throws javax.jms.JMSException
        Specified by:
        getClientID in interface javax.jms.Connection
        Throws:
        javax.jms.JMSException
      • setClientID

        public void setClientID​(java.lang.String string)
                         throws javax.jms.JMSException
        Specified by:
        setClientID in interface javax.jms.Connection
        Throws:
        javax.jms.JMSException
      • getMetaData

        public javax.jms.ConnectionMetaData getMetaData()
                                                 throws javax.jms.JMSException
        Specified by:
        getMetaData in interface javax.jms.Connection
        Throws:
        javax.jms.JMSException
      • createConnectionConsumer

        public javax.jms.ConnectionConsumer createConnectionConsumer​(javax.jms.Destination destination,
                                                                     java.lang.String string,
                                                                     javax.jms.ServerSessionPool serverSessionPool,
                                                                     int i)
                                                              throws javax.jms.JMSException
        Specified by:
        createConnectionConsumer in interface javax.jms.Connection
        Throws:
        javax.jms.JMSException
      • createDurableConnectionConsumer

        public javax.jms.ConnectionConsumer createDurableConnectionConsumer​(javax.jms.Topic topic,
                                                                            java.lang.String string,
                                                                            java.lang.String string1,
                                                                            javax.jms.ServerSessionPool serverSessionPool,
                                                                            int i)
                                                                     throws javax.jms.JMSException
        Specified by:
        createDurableConnectionConsumer in interface javax.jms.Connection
        Throws:
        javax.jms.JMSException