Thanks Claus. Does it matter if I put noAutoStartup before onException() and transacted()? Both these return objects which are statically typed to something else than RouteDefinition.
Thanks again for the really quick answer. BR, Lunchbox -- View this message in context: http://camel.465427.n5.nabble.com/RouteDefinition-setAutoStartup-PolicyDefinition-ClassCastException-tp4578805p4578919.html Sent from the Camel - Users mailing list archive at Nabble.com.