Interface IMessageHandler
- 
public interface IMessageHandlerOur interface for handling messages received by the consumer. Used to decouple the Kafka consumer from the database persistence logic 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Close any resources held by the handlervoidprocess(java.util.List<java.lang.String> messages)Ask the handler to process the list of messages. 
 - 
 
- 
- 
Method Detail
- 
process
void process(java.util.List<java.lang.String> messages) throws FHIRPersistenceExceptionAsk the handler to process the list of messages.- Parameters:
 messages-- Throws:
 FHIRPersistenceException
 
- 
close
void close()
Close any resources held by the handler 
 - 
 
 -