Hello,
I am testing to see if spring-integration (Version 2.1.0) could help me with a problem.
But, as how it is now, IdGeneratorConfigurer causes a 'Context initialization failed' i.e. if any bean class can not be found. We have a big project and this can occur...
Problem seems to to be the following line in IdGeneratorConfigurer:
if I change it to:Code:boolean contextHasIdGenerator = context.getBeanNamesForType(IdGenerator.class).length > 0;
everything works fine. Is it a bug?Code:boolean contextHasIdGenerator = context.getBeanNamesForType(IdGenerator.class, false, false).length > 0;


Reply With Quote
(?)
