public abstract class BatchUtils extends Object
| Constructor and Description |
|---|
BatchUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
buildExceptionLogMessage(BatchJobInstance jobInstance,
BatchStep step,
Exception exception) |
static void |
commit(BatchTransactionContext ctx) |
static Record |
getRecord(org.mule.runtime.api.el.BindingContext bindingContext) |
static Record |
getRecord(org.mule.runtime.core.api.event.CoreEvent event) |
static void |
rollback(BatchTransactionContext ctx) |
static void |
singleAckAndCommitIfNecessary(BatchTransactionContext ctx) |
static BatchException |
toBatchException(Exception e,
BatchJobInstanceAdapter jobInstance) |
static Record |
toRecord(org.mule.runtime.core.api.event.CoreEvent event,
Object object) |
public static Record getRecord(org.mule.runtime.core.api.event.CoreEvent event)
public static Record getRecord(org.mule.runtime.api.el.BindingContext bindingContext)
public static BatchException toBatchException(Exception e, BatchJobInstanceAdapter jobInstance)
public static Record toRecord(org.mule.runtime.core.api.event.CoreEvent event, Object object)
public static String buildExceptionLogMessage(BatchJobInstance jobInstance, BatchStep step, Exception exception)
public static void commit(BatchTransactionContext ctx)
public static void singleAckAndCommitIfNecessary(BatchTransactionContext ctx)
public static void rollback(BatchTransactionContext ctx)
Copyright © 2006–2019 MuleSoft, Inc.. All rights reserved.