Claus Ibsen created CAMEL-7257:
----------------------------------
Summary: 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
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)