...
Camel has this concept of a Unit of Work that encompass the Exchange. The unit of work among others supports synchronization callbacks that are invoked when the Exchange is complete. The callback API is defined in org.apache.camel.spi.Synchronization
. From Camel 2.14 onwards we have an extended synchronization org.apache.camel.spi.SynchronizationRouteAware
that have callbacks for route events.
Tip |
title |
Getting the UnitOfWork |
|
You can get hold of the org.apache.camel.spi.UnitOfWork from org.apache.camel.Exchange with the method getUnitOfWork() . |
...