Class GenericMessageHandler

    • Constructor Detail

      • GenericMessageHandler

        public GenericMessageHandler​(EventHandler<com.fifa.connectservicebus.sdk.Message> messageHandler)
    • Method Detail

      • canHandle

        public boolean canHandle​(String messageType)
        Description copied from interface: MessageHandler
        Tells the caller if the message type can be handled by this handler
        Specified by:
        canHandle in interface MessageHandler
        Parameters:
        messageType - A textual identifier of the message type
        Returns:
        true if the message handler can handle the message type, false otherwise