final void mapAndSend(Event event) {
        try {
            trpDynamicOptions.set(new DynamicOptions(event));
            mapAndSend(event, optionHolder, templateBuilderMap, sinkListener);
        } finally {
            trpDynamicOptions.remove();
        }
    }
Called to map the event and send it to {@link SinkListener} for publishing

@param event The {@link Event} that need to be mapped
modules/siddhi-core/src/main/java/io/siddhi/core/stream/output/sink/SinkMapper.java