|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 SubUnitOfWorkCallback
exchange
- the exchangepublic void onDone(Exchange exchange)
SubUnitOfWorkCallback
onDone
in interface SubUnitOfWorkCallback
exchange
- the exchange.public boolean isFailed()
SubUnitOfWork
SubUnitOfWork
marked as failed.
isFailed
in interface SubUnitOfWork
public List<Exception> getExceptions()
SubUnitOfWork
SubUnitOfWork
to fail.
getExceptions
in interface SubUnitOfWork
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |