Interface MessageHandler
-
- All Known Implementing Classes:
CorrelationIdContainerBasedMessageHandler,DateOfBirthChangedMessageHandler,GenderChangedMessageHandler,GenericMessageHandler,PersonDetailsHandler,PersonDetailsRequestHandler,PersonLocalMessageHandler,PersonMergedMessageHandler,PersonNameChangedMessageHandler
public interface MessageHandlerAn abstraction for handling incoming messages
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanHandle(String messageType)Tells the caller if the message type can be handled by this handlervoidhandle(String messageType, com.fifa.connectservicebus.sdk.Message message)Handles the message
-
-
-
Method Detail
-
canHandle
boolean canHandle(String messageType)
Tells the caller if the message type can be handled by this handler- Parameters:
messageType- A textual identifier of the message type- Returns:
- true if the message handler can handle the message type, false otherwise
-
-