Aias00 opened a new pull request, #6337: URL: https://github.com/apache/shenyu/pull/6337
Fixes duplicate full-mode URI registration when the client receives repeated `ContextRefreshedEvent` callbacks. ## Summary - route full-mode Spring MVC and WebSocket registration through the shared one-time registration gate - remove duplicated direct publisher fields from the concrete listeners and reuse the base publisher access - add regression tests covering repeated refresh events for both full-mode listeners ## Verification - [x] You have read the [contribution guidelines](https://shenyu.apache.org/community/contributor-guide). - [x] You submit test cases (unit or integration tests) that back your changes. - [ ] Your local test passed `./mvnw clean install -Dmaven.javadoc.skip=true`. Test command run: `mvn -pl shenyu-client/shenyu-client-core,shenyu-client/shenyu-client-http/shenyu-client-springmvc,shenyu-client/shenyu-client-websocket/shenyu-client-spring-websocket -am -DfailIfNoTests=false -Dtest=ShenyuClientURIExecutorSubscriberTest,SpringMvcClientEventListenerTest,SpringWebSocketClientEventListenerTest test` -- 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]
