Class Requestor

    • Field Detail

      • logger

        private static Logger logger
      • DEBUG

        private static final boolean DEBUG
      • DEFAULT_REQUEST_TIMEOUT_VALUE

        public static final long DEFAULT_REQUEST_TIMEOUT_VALUE
        See Also:
        Constant Field Values
      • defaultRequestTimeout

        private long defaultRequestTimeout
      • requestId

        private int requestId
      • status

        private int status
    • Method Detail

      • setStatus

        private void setStatus​(int status)
      • getRequestId

        public final int getRequestId()
      • init

        private void init()
      • request

        public AbstractJmsReply request​(AbstractJmsRequest request,
                                        long timeout,
                                        CompletionListener completionListener)
                                 throws jakarta.jms.JMSException
        Method sending a synchronous request to the server and waiting for an answer.
        Throws:
        IllegalStateException - If the connection is closed or broken, if the server state does not allow to process the request.
        jakarta.jms.JMSSecurityException - When sending a request to a destination not accessible because of security.
        jakarta.jms.InvalidDestinationException - When sending a request to a destination that no longer exists.
        jakarta.jms.JMSException - If the request failed for any other reason.
      • abortRequest

        public void abortRequest()
      • close

        public void close()
      • start

        public void start()
      • stop

        public void stop()