Interface MessageForwardingProcessorViewMBean

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void activate()
      Activate the Message Processor.
      void deactivate()
      Deactivate the Message Processor This will stop the processing of Messages.
      void delete​(String messageID)
      Delete the Message with Given id
      void deleteAll()
      Delete all the Messages in Message store
      String getEnvelope​(String messageID)
      Get the SOAP envelope of the given Message with given ID
      int getSize()  
      boolean isActive()
      Get the Status of the Message Processor
      boolean isTaskLocationKnown()
      Checks if the task location linked to this Message Processor is known
      List<String> messageIdList()
      Get the Message IDs of all stored Messages in the Message store
      void resend​(String messageID)
      Resend the Message with the given id return false if fail to re try deliver the message
      void resendAll()
      try resending all messages stored in the message store via associated endpoints.
    • Method Detail

      • resendAll

        void resendAll()
                throws Exception
        try resending all messages stored in the message store via associated endpoints.
        Throws:
        Exception
      • deleteAll

        void deleteAll()
                throws Exception
        Delete all the Messages in Message store
        Throws:
        Exception
      • messageIdList

        List<String> messageIdList()
                            throws Exception
        Get the Message IDs of all stored Messages in the Message store
        Returns:
        a list of message ID values
        Throws:
        Exception
      • resend

        void resend​(String messageID)
             throws Exception
        Resend the Message with the given id return false if fail to re try deliver the message
        Parameters:
        messageID - ID of the message to be resent
        Throws:
        Exception
      • delete

        void delete​(String messageID)
             throws Exception
        Delete the Message with Given id
        Parameters:
        messageID - ID of the message to be deleted
        Throws:
        Exception
      • getEnvelope

        String getEnvelope​(String messageID)
                    throws Exception
        Get the SOAP envelope of the given Message with given ID
        Parameters:
        messageID - ID of the message to be returned
        Returns:
        the SOAP envelope content as a string
        Throws:
        Exception
      • getSize

        int getSize()
        Returns:
        the number of Messages stored in the store.
      • isActive

        boolean isActive()
        Get the Status of the Message Processor
        Returns:
        status of the Processor
      • activate

        void activate()
        Activate the Message Processor. This will resume processing the Messages if its in deactivated state and reset the Send attempt count.
      • deactivate

        void deactivate()
        Deactivate the Message Processor This will stop the processing of Messages.
      • isTaskLocationKnown

        boolean isTaskLocationKnown()
        Checks if the task location linked to this Message Processor is known
        Returns:
        true if the task location linked to this Message Processor is known