Thanks. I know there are a number of tricks that I can add to my production route to help with testing. When is this book due to release. I'm interesting in reading this chapter 5. :)
Claus Ibsen-2 wrote: > > On Tue, Oct 20, 2009 at 7:42 PM, Claus Ibsen <claus.ib...@gmail.com> > wrote: >> 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. >> > > Ah sorry got the chapters mixed up. Its chapter 5 which is about testing. > > You can also find inspiration on this blog entry > http://davsclaus.blogspot.com/2009/04/on-road-to-camel-20-interceptors.html > > where you can leverage the interceptors with testing. > >> >> >>> 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 >> > > > > -- > Claus Ibsen > Apache Camel Committer > > Open Source Integration: http://fusesource.com > Blog: http://davsclaus.blogspot.com/ > Twitter: http://twitter.com/davsclaus > > -- View this message in context: http://www.nabble.com/Testing-Routes-tp25977697p25980960.html Sent from the Camel - Users mailing list archive at Nabble.com.