Hi Read the migration guides https://camel.apache.org/manual/camel-4-migration-guide.html
See the TIP in that api changes section On Thu, Aug 10, 2023 at 9:58 AM Kushagra Bindal <bindal.kusha...@gmail.com> wrote: > Hi, > > I am trying to upgrade my camel version from 2.25.4 to 4.0.0.M3. > > Earlier I use to set my UnitOfworkFactory using below pattern. > > camelContext.setUnitOfWorkFactory(customUnitOfWorkFactory); > > Now with the latest version of Camel, I just wanted to understand the > new mechanism of doing the same. > > > -- > Regards, > Kushagra > -- Claus Ibsen ----------------- @davsclaus Camel in Action 2: https://www.manning.com/ibsen2