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: 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