[ 
https://issues.apache.org/jira/browse/CAMEL-7257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-7257.
--------------------------------

    Resolution: Fixed

> Add getRegistry(T) - To get the registry as type T
> --------------------------------------------------
>
>                 Key: CAMEL-7257
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7257
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.13.0
>
>
> So people can more easily get JndiRegistry / SimpleRegistry / 
> SpringAppCtxRegistry and what else is there.
> Currently we wrap that in a property placeholder registry at runtime. So if 
> people call getRegistry they get that back.
> So having
> JndiRegistry jndi = context.getRegistry(JndiRegistry.class);
> allows us to know what type they want, and return the actual registry.
> See nabble
> http://camel.465427.n5.nabble.com/update-JNDI-camel-registery-at-runtime-tp5748047.html



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to