public class DefaultSubUnitOfWork extends Object implements org.apache.camel.spi.SubUnitOfWork, org.apache.camel.spi.SubUnitOfWorkCallback
SubUnitOfWork
combined
with a SubUnitOfWorkCallback
to gather callbacks into this SubUnitOfWork
stateConstructor and Description |
---|
DefaultSubUnitOfWork() |
Modifier and Type | Method and Description |
---|---|
List<Exception> |
getExceptions() |
boolean |
isFailed() |
void |
onDone(org.apache.camel.Exchange exchange) |
void |
onExhausted(org.apache.camel.Exchange exchange) |
public void onExhausted(org.apache.camel.Exchange exchange)
onExhausted
in interface org.apache.camel.spi.SubUnitOfWorkCallback
public void onDone(org.apache.camel.Exchange exchange)
onDone
in interface org.apache.camel.spi.SubUnitOfWorkCallback
public boolean isFailed()
isFailed
in interface org.apache.camel.spi.SubUnitOfWork
Apache Camel