Problems with the fact openfire.jar has various jars baked in

I’ve been trying to use camel-guice in an Openfire plugin but have got stuck based on the fact it (transitively through camel-core) uses a method in ConcurrentLinkedHashMap. ConcurrentLinkedHashMap is one of the classes that is baked into the openfire jar, obviously at an older version than what I need.

I think I have run into this problem a few times now, does anyone know a way around it? It might just be edge cases I have found but it can be quite limiting in your plugin development when you find you can’t use certain libraries because of the import in libraries. Any chance why Openfire doesn’t have that jar in its lib directory rather than baked in?

Thanks,

Michael

1 Like