camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject About OsgiTypeConverter
Date Sun, 30 Jan 2011 12:41:59 GMT

As part of
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
Twitter: davsclaus
Author of Camel in Action:

View raw message