Interface SpringTopicSubscription

    • Method Detail

      • isAutoOpen

        boolean isAutoOpen()
        Returns:
        • true when the topic subscription is automatically released for execution
        • false when you need to call open() to release the topic for execution
      • open

        void open()
        Releases the topic subscription for asynchronous execution when isAutoOpen() is false
        Throws:
        ExternalTaskClientException -
        • if topic name is null or an empty string
        • if lock duration is not greater than zero
        • if external task handler is null
        • if topic name has already been subscribed
        NotInitializedException - if called before fully initialized
      • isOpen

        boolean isOpen()
        Returns:
        • true when the topic subscription is already released for execution
        • false when the topic subscription is not already released for execution; call open() to release the topic for execution