*
* @param event
*/
public void dzslidesRenderedEvent(@Observes @Backend("dzslides") AsciidocMessageEvent event){
logger.info("::event:: received dzslides event message");
OutputMessage html = buildOutputMessage(TypeFormat.html5, event);
final String templateDir = System.getProperty("jboss.server.data.dir")+"/asciidoctor-backends/slim/dzslides";
long start = System.currentTimeMillis();
try {
html.setContent(processor.renderAsDocument(event.msg.getAdocSource(), "dzslides",
new java.io.File(templateDir), event.msg.getPart()));
html.setTimeToRender(System.currentTimeMillis() - start);
} catch (RuntimeException rEx) {
logger.severe("processing error." + rEx.toString());
}
// send the new HTML version to all connected peers