CAMEL-5997: Registry API changes to accomodate CDI. Old API has been @deprecated to be backwards compatible.