camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Petr Juza (JIRA)" <>
Subject [jira] [Created] (CAMEL-7657) different results of lookup methods in SpringRouteBuilder
Date Mon, 04 Aug 2014 08:18:11 GMT
Petr Juza created CAMEL-7657:

             Summary: different results of lookup methods in SpringRouteBuilder
                 Key: CAMEL-7657
             Project: Camel
          Issue Type: Bug
          Components: camel-spring
    Affects Versions: 2.13.2
            Reporter: Petr Juza
            Priority: Minor

There are two lookup methods in SpringRouteBuilder:
- lookup(java.lang.String beanName, java.lang.Class<T> type) calls getBean(beanName,
type) from ApplicationContext
- lookup(java.lang.Class<T> type) calls internally getBeanNamesForType (
) and this method does not consider any hierarchy this factory may participate in.

Two same methods can return different results when using Spring context hierarchy.

This message was sent by Atlassian JIRA

View raw message