class ConnectionStatusMessageMapper extends AbstractMessageMapper {

    @Override
    public List<Adaptable> map(final ExternalMessage externalMessage) {
        try {
            return doMap(externalMessage);
        } catch (final Exception e) {
            // we don't want to throw an exception in case something went wrong during the mapping
            LOGGER.withCorrelationId(externalMessage.getInternalHeaders())
                    .info("Error occurred during mapping: <{}>: {}", e.getClass().getSimpleName(), e.getMessage());
            return EMPTY_RESULT;
        }
    }

}