ops4j / org.ops4j.pax.jms

Pax JMS provides a lightweight bridge between Java Message Service (JMS) and OSGi using Declarative Services and the whiteboard pattern
Apache License 2.0
6 stars 8 forks source link

Fixing ConcurrentModificationException #15

Closed miroslav-beranic closed 5 years ago

miroslav-beranic commented 5 years ago

Hi,

in my case I was getting ConcurrentModificationException from inside of org.ops4j.pax.jms.config.impl.ConnectionFactoryConfigManager#destroy. I've changed trackers from HashMap to ConcurrentHashMap and exception is fixed.

If you want, feel free to use this change.

Notice: I've tried to register in project's Jira but was getting error - that user has no access ( on email verify page ). I've received confirmation email, but when I clicked on the link in email to verify, I got error - that account does not have access.

dvpravin commented 5 years ago

Hi,

I see you closed the merge request. Was the changes you did to the config class not required? I found similar errors while developing a new component for Oracle AQ.

Thanks, Pravin