The Camel Java DSL provides type-safety, code completion and proper support for refactoring. It also helps to modularize and (unit-)test your code in a great manner.
Speaking for the Camel XML syntax I only see the advantage of being able to modify and reload routes at runtime (e.g. via hawtio
).
Obviously I'm really missing something here - so what is the rationale behind the use of Camel XML routes today?
It is a matter of taste and preference.