File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed 
src/main/java/io/aurora/socketapp/channel/port Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -22,21 +22,21 @@ public SubChannelController(SubChannelService subChannelService)
2222 this .subChannelService  = subChannelService ;
2323 }
2424
25-  @ MessageMapping ("/available.subChannels " )
26-  @ SendTo ("/topic/channels " )
25+  @ MessageMapping ("/available.subshannels " )
26+  @ SendTo ("/topic/subchannels " )
2727 public  List <String > getAllChannelIds ()
2828 {
2929 return  subChannelService .getAllSubChannelIds ();
3030 }
3131
32-  @ MessageMapping ("/subChannels /join" )
32+  @ MessageMapping ("/subchannels /join" )
3333 public  void  join (String  subChannelId , Principal  principal ) throws  IOException 
3434 {
3535 subChannelService .join (subChannelService .findSubChannelById (subChannelId )
3636 ,mapper .readValue (principal .getName (), User .class ));
3737 }
3838
39-  @ MessageMapping ("/subChannels /leave" )
39+  @ MessageMapping ("/subchannels /leave" )
4040 public  void  leave (String  subChannelId , Principal  principal ) throws  IOException 
4141 {
4242 subChannelService .leave (subChannelService .findSubChannelById (subChannelId ),
                         You can’t perform that action at this time. 
           
                  
0 commit comments