dump routes as xml in this example
diff --git a/examples/routeloader/pom.xml b/examples/routeloader/pom.xml
index b7baaf2..b2df5d4 100644
--- a/examples/routeloader/pom.xml
+++ b/examples/routeloader/pom.xml
@@ -71,6 +71,11 @@
             <groupId>org.apache.camel</groupId>
             <artifactId>camel-yaml-dsl</artifactId>
         </dependency>
+        <!-- used to dump routes as XML -->
+        <dependency>
+            <groupId>org.apache.camel</groupId>
+            <artifactId>camel-xml-jaxb</artifactId>
+        </dependency>
 
         <!-- components -->
         <dependency>
diff --git a/examples/routeloader/src/main/resources/application.properties b/examples/routeloader/src/main/resources/application.properties
index e05ff48..b8955fc 100644
--- a/examples/routeloader/src/main/resources/application.properties
+++ b/examples/routeloader/src/main/resources/application.properties
@@ -19,6 +19,9 @@
 # here you can configure options on camel main (see MainConfigurationProperties class)
 camel.main.name = MyJavaLoader
 
+# dump routes as XML (routes are coded in different DSLs but can be dumped as XML)
+camel.main.dump-routes = true
+
 # which directory(s) to scan for routes which can be xml or java files
 camel.main.routes-include-pattern=classpath:myroutes/*