Yashashree-Chopada opened a new pull request, #5163: URL: https://github.com/apache/activemq-artemis/pull/5163
The start() method should use a lock to access the expectedBindings variable to ensure thread safety, since other methods use the lock and interact with expectedBindings at the same time. Using the lock in the start() method ensures that access to the expectedBindings variable is safe in a multi-threaded environment, preventing potential thread contention issues. [ARTEMIS-4972](https://issues.apache.org/jira/browse/ARTEMIS-4972) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org For additional commands, e-mail: gitbox-h...@activemq.apache.org For further information, visit: https://activemq.apache.org/contact