Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Camel 2.2.0 needs commons-pool 1.5.4.
ActiveMQ pool needs commons-pool 1.4.
So in ServiceMix 4, we deploy both commons-pool 1.5.4 and 1.4 bundles.
Unfortunately, commons-pool 1.4 is not a "correct" bundle as it contains:
Export-Package = org.apache.commons.pool;version=1.4, org.apache.commons.pool.impl;version=1.4
Import-Package = org.apache.commons.pool;version=1.4, org.apache.commons.pool.impl;version=1.4
So what happens in this case is that commons-pool 1.4 will not export its package but import the 1.5.4 one.
The problem is exactly the same with commons-pool 1.5.4.
The workaround is to create a new ServiceMix commons-pool package which wrap commons-pool and define correct Export-Package and Import-Package statements.