Interface MessageProducer

    • Method Detail

      • storeMessage

        boolean storeMessage​(MessageContext synCtx)
        Stores the given message to the store associated with this message consumer.
        Parameters:
        synCtx - Message to be saved.
        Returns:
        true if storing of the message is successful, false otherwise.
      • cleanup

        boolean cleanup()
        Cleans up this message consumer
        Returns:
        true if clean up is successful, false otherwise.
      • setId

        void setId​(int id)
        Sets the ID of this message consumer.
        Parameters:
        id - ID
      • getId

        String getId()
        Returns the ID of this message consumer.
        Returns:
        ID