Maybe @*DirtiesContext*(classMode = ClassMode.AFTER_EACH_TEST_METHOD) at the level of the class can help ?
On Wed, Aug 29, 2012 at 9:16 PM, Preben.Asmussen <p...@dr.dk> wrote: > I can confirm this behavior also exists on Camel 2.10 > > /Preben > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Issue-using-camel-cxf-in-an-unit-test-tp5718310p5718322.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Charles Moulliard Apache Committer / Sr. Pr. Consultant at FuseSource.com Twitter : @cmoulliard Blog : http://cmoulliard.blogspot.com