protected BulkQuery createBulkQuery(MuleEvent muleEvent)
{
String queries = resolveBulkQueries(muleEvent, this.bulkQueryText);
BulkQuery bulkQuery = new BulkQuery();
String[] splitQueries = queries.split(BULK_QUERY_SEPARATOR);
for (String sql : splitQueries)
{
if ("".equals(sql.trim()))
{
continue;
}
QueryTemplate queryTemplate = parser.parse(sql);
bulkQuery.add(queryTemplate);
}
return bulkQuery;
}