You should also have a look into the Camel OSGI integration tests [1] which use pax exam to test Camel in an OSGI environment.
[1] https://svn.apache.org/repos/asf/camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/ Best, Christian On Wed, May 9, 2012 at 8:44 AM, Claus Ibsen <claus.ib...@gmail.com> wrote: > On Tue, May 8, 2012 at 8:14 PM, James Carman <ja...@carmanconsulting.com> > wrote: > > Can we introduce this advice using blueprint XML? I'm trying to set up > > simple examples that the testing folks can use to add this stuff into > > existing routes. Is that possible? > > > > Yes from Camel 2.10 onwards we got a camel-test-blueprint component > that makes unit testing OSGi blueprint XML files much easier. > > http://davsclaus.blogspot.se/2012/01/unit-testing-osgi-blueprint-with-apache.html > http://camel.apache.org/blueprint-testing.html > > > > > -- > > View this message in context: > http://camel.465427.n5.nabble.com/Integration-Testing-Best-Practices-tp5691310p5695537.html > > Sent from the Camel - Users mailing list archive at Nabble.com. > > > > -- > Claus Ibsen > ----------------- > CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com > FuseSource > Email: cib...@fusesource.com > Web: http://fusesource.com > Twitter: davsclaus, fusenews > Blog: http://davsclaus.blogspot.com/ > Author of Camel in Action: http://www.manning.com/ibsen/ >