@Autowired
private CamelContext context;
@Override
public Boolean executeTest(ITestConfig config, String component) throws Exception {
logger.info("Getting Camel component: {}", component);
<BUG>org.apache.camel.Component comp = context.getComponent(component, true, false);
</BUG>
assertNotNull("Cannot get module with name: " + component, comp);
logger.info("Found Camel module: {} instance: {} with className: {}", component, comp, comp.getClass());
return true;

@Autowired
private CamelContext context;
@Override
public Boolean executeTest(ITestConfig config, String component) throws Exception {
logger.info("Getting Camel component: {}", component);
org.apache.camel.Component comp = context.getComponent(component, true, config.getAutoStartComponent());
assertNotNull("Cannot get module with name: " + component, comp);
logger.info("Found Camel module: {} instance: {} with className: {}", component, comp, comp.getClass());
return true;
