camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Testing using Camel Test or Spring Testing or Guice
Date Wed, 03 Dec 2008 11:44:10 GMT
We've been through a few iterations of testing during the lifetime of
the Camel project; we started with ContextTestSupport which was quite
handy; Mock endpoints camel along, then the Camel binding and
injection annotations came...

together with Spring Test came along along with which made testing
much simpler and more powerful

then came Guice support not requiring any XML

and finally support for Spring Java Config to allow folks to use
Spring without any XML

However not everyone uses Spring or Guice for Dependency Injection;
sometimes folks use straight Java code. So then Camel Test has
recently come along as an option...

This might now all seem confusing! So I've tried to create a testing
page describing how they are all now pretty similar; whether using
Camel Test, Spring Testing with XML or Java Config or Guice...

Any feedback/thoughts welcome!


Open Source Integration

View raw message