It seems not to work, as the camel has been compiled with a different class
version, thus when supplied with the older library it simply fails:

Caused by: java.lang.LinkageError: loader constraint violation: when
resolving method
"org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()Lorg/slf4j/ILoggerFactory;"
the class loader (instance of
org/jboss/classloader/spi/base/BaseClassLoader) of the current class,
org/slf4j/LoggerFactory, and the class loader (instance of
org/jboss/classloader/spi/base/BaseClassLoader) for resolved class,
org/slf4j/impl/StaticLoggerBinder, have different Class objects for the type
org/slf4j/ILoggerFactory used in the signature

My feeling is that the class loader isolation is the way to go.
I just need to understand how to do it.


--
View this message in context: 
http://camel.465427.n5.nabble.com/JBoss-5-1-0-Camel-2-7-0-SLF4J-version-difference-tp4498593p4498675.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to