On Tue, Oct 20, 2009 at 5:52 PM, Carlos Cook <carlos.coo...@gmail.com> wrote: > > We have a complicated system setup to plan our routes. I want to write unit > tests to test these routes. Is there a way to test the routes without having > to re-write a bunch of code to tell my routes to go to mock endpoints? The > only examples that I have seen have been of routes that have been re-written > to go to mock endpoints. I want to test the routing system that's in place > not re-write it. Is that possible? > --
Yeah it is. See chapter 4 in the upcoming book Camel in action which has a whole chapter devoted to testing. Its approx 35+ pages. > View this message in context: > http://www.nabble.com/Testing-Routes-tp25977697p25977697.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus