ExecutionContext executionContext = smooks.createExecutionContext();
// Configure the execution context to generate a report...
executionContext.setEventListener(new HtmlReportGenerator("target/report/report-ibatis.html"));
PersistenceUtil.setDAORegister(executionContext, new SqlMapClientRegister(sqlMapClient));
sqlMapClient.startTransaction();
smooks.filterSource(executionContext, new StreamSource(new ByteArrayInputStream(messageInIbatis)));