Details
Description
XML IO DSL do not load routeConfiguration if it uses XML namespace like this:
<routeConfiguration xmlns="http://camel.apache.org/schema/spring"> <onException> <exception>java.lang.Exception</exception> <handled><constant>true</constant></handled> <log message="XML WARN: ${exception.message}"/> </onException> </routeConfiguration>
A possible workaround is to explicitly remove the namespace, for instance like below:
<routeConfiguration> ... </routeConfiguration>
Attachments
Issue Links
- is related to
-
CAMEL-19006 XML IO DSL do not load templatedRoutes without XML namespace
- Resolved
- links to