Search in sources :

Example 1 with DefaultUnitOfWork

use of org.apache.camel.impl.DefaultUnitOfWork in project camel by apache.

the class CachedOutputStreamTest method setUp.

protected void setUp() throws Exception {
    super.setUp();
    deleteDirectory("target/cachedir");
    createDirectory("target/cachedir");
    exchange = new DefaultExchange(context);
    UnitOfWork uow = new DefaultUnitOfWork(exchange);
    exchange.setUnitOfWork(uow);
}
Also used : DefaultExchange(org.apache.camel.impl.DefaultExchange) DefaultUnitOfWork(org.apache.camel.impl.DefaultUnitOfWork) UnitOfWork(org.apache.camel.spi.UnitOfWork) DefaultUnitOfWork(org.apache.camel.impl.DefaultUnitOfWork)

Aggregations

DefaultExchange (org.apache.camel.impl.DefaultExchange)1 DefaultUnitOfWork (org.apache.camel.impl.DefaultUnitOfWork)1 UnitOfWork (org.apache.camel.spi.UnitOfWork)1