Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't touch request after sending to avoid concurrency bug #51

Merged
merged 1 commit into from
Mar 28, 2022

Conversation

tilln
Copy link
Owner

@tilln tilln commented Mar 28, 2022

Fix for #24.

This appears to be caused by whatever jPOS does with the message after handing it over to the QMUX (as can be demonstrated by stubbing the MUX.request call).

This workaround simply gets all the request details for the SampleResult before sending the request and thereby avoids the issue.

@tilln tilln merged commit 4a95742 into master Mar 28, 2022
@tilln tilln deleted the fix/issue24-concurrentmodificationexception branch March 28, 2022 06:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant