private Message createMessage(MessageTemplate template, String[] entries) {
   Message message = new Message(template);
   for (int i = 0; i < entries.length - 1; i++) {
     message.setString(i + 1, entries[i].trim());
   }
   return message;
 }
 @Override
 public void handleMessage(final Message message, final Context context, final Coder coder) {
   if (LOGGER.isDebugEnabled()) {
     LOGGER.debug(MessageType.buildHumanReadableStringForLoggingFASTMessage(message));
   }
   final MessageType messageType = MessageType.getById(message.getInt("templateId"));
   switch (messageType) {
     case RESET:
       context.reset();
       break;
     case DEFAULT_INCREMENTAL_REFRESH_MESSAGE:
       final DefaultIncrementalRefreshMessage m =
           (DefaultIncrementalRefreshMessage) messageType.parseFASTMessage(message);
       for (final MDEntry mdEntry : m.getMdEntries()) {
         // TODO: process all types
         // LOGGER.info(mdEntry.getMdEntryType().toString());
       }
       // TODO: parse whole msg and stop logging it
       // MessageType.logUnknownFASTMessage(message);
       break;
     default:
       LOGGER.warn(MessageType.buildHumanReadableStringForLoggingFASTMessage(message));
       break;
   }
 }