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/03/12 17:45:49 UTC
[jira] [Assigned] (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 reassigned CAMEL-7257:
----------------------------------
Assignee: Claus Ibsen
> 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)