netty-socketio icon indicating copy to clipboard operation
netty-socketio copied to clipboard

version 1.7.20 ,SpringAnnotationScanner is invalid

Open kid-ai opened this issue 3 years ago • 3 comments

https://github.com/hiwepy/socketio-spring-boot-starter [2.0.0.RELEASE] springboot 2.6.10

the class code rollback to version 1.7.19 , is ok.

kid-ai avatar Aug 25 '22 03:08 kid-ai

Furthermore, SpringAnnotationScanner does not work in version 2.0.9

AscTh avatar Mar 22 '24 02:03 AscTh

Can you suggest a fix?

mrniko avatar Mar 29 '24 14:03 mrniko

First, I want to find out if I'm doing everything right. Is it enough to add a listener just to put an OnConnect annotation? Because the following code does not work

@OnConnect
public void onConnect(SocketIOClient client) {
    log.info("Socket ID[{}] - Connected to socket", client.getSessionId().toString());
}

AscTh avatar Apr 01 '24 17:04 AscTh