You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2014/02/28 08:17:19 UTC
[jira] [Updated] (CAMEL-7257) Add getRegistry(T) - To get the
registry as type T
[ https://issues.apache.org/jira/browse/CAMEL-7257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-7257:
-------------------------------
Fix Version/s: 2.13.0
> 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
> 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.1.5#6160)