Is this logic in org.apache.camel.spring.RouteBuilderFinder correct?
/**
* Lets ignore beans that are not explicitly configured in the
spring.xml
*/
protected boolean shouldIgnoreBean(Class type) {
Map beans = applicationContext.getBeansOfType(type, true, true);
if (beans == null || beans.isEmpty()) {
return false;
}
// TODO apply some filter?
return true;
}
If the application context finds beans of the requested type (which it does
if they are defined in the xml configuration) then the method returns true,
meaning "yes, should ignore".
But isn't that just the opposite of what is desired? Or am I missing the
whole point here?
--
View this message in context:
http://www.nabble.com/-camel--spring-container-tf3663132s2354.html#a10235603
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.