Interface CommandSubscription


  • public interface CommandSubscription

    Stored information on the subscription and lets you unpersist the command.

    • Method Detail

      • getSubject

        java.lang.String getSubject()

        Returns the subject the command was executed on.

        Returns:
        The subject of the command.
      • getCommandListener

        CommandListener getCommandListener()

        Returns the CommandListener that is informed of success or failure of this command.

        Returns:
        The command listener.
      • unPersist

        void unPersist()

        For commands that have been set as persistent this method will turn off that persistence. Once persistence is turned off the command will not be resent to the server when a reconnection occurs.