What about a separate test in camel-spring to test this out? So you can have your unit test in camel-core that directly tests out your changes and then a second more elaborate test perhaps that shows the spring configuration.
On Tue, Mar 30, 2010 at 3:17 PM, Jim Talbut <jtal...@spudsoft.co.uk> wrote: > Hi, > > I'm working on this: https://issues.apache.org/activemq/browse/CAMEL-2563 > and I want to have a unit test for it that tests that I can configure the > tracer using spring, but I don't think this is possible. > Am I right? > > All the tests I can find using spring reference one or more of camel-test or > camel-spring, which I don't think I can access from camel-core. > I could demonstrate the configuration of the camel-context using normal > spring, but I don't think that proves very much. > > Should I just forget spring tests? > > Thanks > > Jim >