Open hjohn opened 2 years ago
Hello @hjohn, sorry for not responding to your previous requests.
The project is not really abandoned, it is just that I have no time currently to take care of it.
I do need help, as I think this project can still (hello testcontainers) help some people / project.
I just reviewed your two previous PRs, could you please make the changes, I will be happy to merge them.
After that, if you want, it will be my pleasure to add you to the team if you want to help keeping this project alive !
Added a fix for this in #318
The
MockQueue
class has many unsynchronizedLinkedHashMap
s. Any access, even read access like callingsize()
that may occur on different threads must be synchronized or the JVM is free to cache these values for the current thread. This can cause for example a message that is being received by a queue almost simultaneously with a consumer being added to be not delivered (and delivery can stop altogether even if more message are sent). It can also causeConcurrentModificationException
s; here's an example that I've seen:I've fixed these problems locally, but I've already have two Pull Requests open on this project that have unfortunately not had any response, and I'm not sure if it is worth my time to make a 3rd PR to get this fixed.
The project seems somewhat abandoned -- are you looking for help? I wouldn't mind integrating the fix above, and my other two PR's and cutting a new release.
If it is abandoned, would you have any objection in my forking this project and releasing it to Maven central under my own groupId?