CAMEL-7418: Fixed JndiRegistry findByType to do correct type check.