Due to a fault in one of the third party cloud projects we have been talking to, we needed to produce a system that took http requests, logged what we were called with (so we could process them later) and return a 200(ok) http header, with the text "OK" in it. And we needed one in under 10 minutes!, as the server that was handling the requests were going off line.
We didn't know which Uri's were going to be called on the system, so it had to work for any of them... Happily, setting up camel (since we already has a bunch of maven based projects using it) and getting the route was trivial. it looked like... from("jetty:http://0.0.0.0:8123?matchOnUriPrefix=true").to("log:log").transform(constant("OK")); and that was it - pure magic :) It got me thinking that prebuilt project that we could control camel from an interactive shell would be very useful for situations like this. I've started experimenting with the Scala interactive shell as a way of defining and starting / stopping routes. Has anyone else tried anything like this? Would this be useful to anyone if we can get it to work? --- Blair -- View this message in context: http://camel.465427.n5.nabble.com/Camel-from-the-Scala-command-line-tp3383925p3383925.html Sent from the Camel - Users mailing list archive at Nabble.com.