@Service public class CometdService extends Object
| Constructor and Description |
|---|
CometdService() |
| Modifier and Type | Method and Description |
|---|---|
void |
onMessageReceived(org.cometd.bayeux.server.ServerSession remoteSession,
org.cometd.bayeux.server.ServerMessage message)
This method receives all the websocket messages sent to the channel COMETD_CHANNEL_NAME
and process them accordingly to their type
|
@Listener(value="/service/chat")
public void onMessageReceived(org.cometd.bayeux.server.ServerSession remoteSession,
org.cometd.bayeux.server.ServerMessage message)
remoteSession - message - Copyright © 2003–2020 eXo Platform SAS. All rights reserved.