On 12/02/2008, Willem Jiang <[EMAIL PROTECTED]> wrote: > Hi James, > > I agree to look up the component with URI schema and component type to > avoid getting the wrong bean instance from the Spring Application context. > > I went through the code and stack trace in the "Camel CXF Spring Tomcat > configuration" again, the exception is thrown from checking the bean's > type is not the instance of the Component. > > So the fixing could be more easier, if the bean's type is not match with > the component that we want , we just keep on searching the component > factory with the URI schema and do not throw the IllegalArgumentException.
Good idea > In this way , we could still give a chance to user to override the > component schema definition in spring context. Agreed -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://open.iona.com
