When Camel lookup in the registry, it may lookup in different runtime registries, such as OSGi blueprint. If an explicit type has been provided as a parameter you will get a ClassCastException if the type does not match. But you cannot see which types was a stake. So we should provide a better exception.
Caused by: java.lang.ClassCastException
... 42 more