ldauvilaire commented on PR #5207: URL: https://github.com/apache/activemq-artemis/pull/5207#issuecomment-2329963056
I don’t know exactly. I have the same, a first NullPointerException followed by a IllegalStateException. Seems safe to destroy the sessions and the connection and re-create it in from the connection factory in such case. My use-case is a username & password that has a limited time to live, if reused during too long by the pool it becomes invalid and the custom ActiveMQSecurityManager5 authenticate method will return null. The client then needs to detect it and re-create a new connection -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information, visit: https://activemq.apache.org/contact
