On Wed, Mar 13, 2013 at 12:07 AM, sonusgr wrote:
> any ideas?
>
If you use any of the Spring annotation stuff, eg @Value
Then you must let Spring handle the lifecycle / IoC / of this class /
processor. So you cannot do new MyXXXProcessor in the code. But have
to refer to a spring bean id instead.
Hi, I am fairly new to Camel.
I am writing some test cases, trying to integrate Camel with Spring.
My testCase is
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration
@PropertySource("classpath:test.properties")
public class DistributionTargetProcessorTest extends CamelSpringTestSupport