Hi

As part of https://issues.apache.org/jira/browse/CAMEL-3592
I discovered that OsgiTypeConverter creates a type coverter which uses
the DefaultPackageScanClassResolver for package scanning.
Why does it not use the OsgiPackageScanClassResolver instead?

I added a TODO in the source code.

Also the logic lazy creates the registry and thus it needs
synchronization when creating.
Can we avoid this?

TypeConverter is used a lot in camel and it can be a bottleneck if we
are not careful.
So I would like the logic to create the registry up-front.



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to