Commits

Micha Kops committed 7713837 Draft

Polling the xml queue implemented.

Comments (0)

Files changed (1)

src/main/scala/com/hascode/tutorial/ExampleWithMessagingUsingActiveMQ.scala

           case _ => -->("jms:invalidOrders")
         })
       }
+
+    from("jms:xmlOrders")
+      .process(exchange => println(exchange.getIn().getHeader("CamelFileName")))
   }
   context.addRoutes(routeBuilder)
   context.start