|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.impl.DefaultSubUnitOfWork
public class DefaultSubUnitOfWork
A default implementation of SubUnitOfWork combined
with a SubUnitOfWorkCallback to gather callbacks into this SubUnitOfWork state
| Constructor Summary | |
|---|---|
DefaultSubUnitOfWork()
|
|
| Method Summary | |
|---|---|
List<Exception> |
getExceptions()
If failed then a number of exceptions could have occurred, causing the SubUnitOfWork to fail. |
boolean |
isFailed()
Is the SubUnitOfWork marked as failed. |
void |
onDone(Exchange exchange)
The exchange is done. |
void |
onExhausted(Exchange exchange)
The exchange is exhausted, by a redeliverable error handler. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultSubUnitOfWork()
| Method Detail |
|---|
public void onExhausted(Exchange exchange)
SubUnitOfWorkCallback
onExhausted in interface SubUnitOfWorkCallbackexchange - the exchangepublic void onDone(Exchange exchange)
SubUnitOfWorkCallback
onDone in interface SubUnitOfWorkCallbackexchange - the exchange.public boolean isFailed()
SubUnitOfWorkSubUnitOfWork marked as failed.
isFailed in interface SubUnitOfWorkpublic List<Exception> getExceptions()
SubUnitOfWorkSubUnitOfWork to fail.
getExceptions in interface SubUnitOfWork
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||