this.chatService = chatService;
User user = (User) session.get(ChatAuthenticationInterceptor.USER_SESSION_KEY); try { chatService.sendMessageToRoom(roomName, user, message); }catch(ChatException e) { addActionError(e.getMessage()); } return SUCCESS;
return this.message;
return this.roomName;
this.message = message;
this.roomName = roomName;
this.session = session;