Re: Catch NoSuchComponentException in org.apache.camel.impl.CompositeRegistry#lookup

2013-03-06 Thread Willem jiang
Yes, The CompositeRegistry should keep looking the registry and catch the exception. I just fill a JIRA[1] for it. [1]https://issues.apache.org/jira/browse/CAMEL-6135 -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog:

Catch NoSuchComponentException in org.apache.camel.impl.CompositeRegistry#lookup

2013-03-06 Thread smokemaker
Hi, all! I use Camel 2.10.3 in ServiceMix 4.5.0 Could someone please explain how to use org.apache.camel.impl.CompositeRegistry? I've got CamelContext, defined in bundle "A" and want to dynamically add to it a registry for resolving components from bundle "B". 1. I get the context's registry: