Hello, in our current implementation, in camel 2.11, transaction mode is set globally inside a class which extend routebuilder, inside the interceptFrom() method.
Since camel 2.12 onwards, this seems not to be tolerated anymore due to the fact that when switching the transaction mode the route is already started. (which perfectly make sense) I did tried to set it in an overrided configureRoute(RouteDefinition route) method or override all the from() method to set the default transacted mode at this stage but without sucess here is what I tried : protected void configureRoute(RouteDefinition route) { super.configureRoute(route); if (!route.getOutputs().contains("PolicyDefinition")){ route.transacted("PROPAGATION_REQUIRES_NEW"); //complains that output processor is missing ?? (chaining of the route is wrong remaining part still chain to the from() instead of the from().output() } } if you have some usefull info of the best approach to use, I would be interested. Thank-you in advance, Regards, Stéphane. -- View this message in context: http://camel.465427.n5.nabble.com/Is-there-a-clean-way-to-default-route-transaction-mode-at-the-route-builder-level-tp5745728.html Sent from the Camel - Users mailing list archive at Nabble.com.