Class ChatApplicationEventListener
java.lang.Object
com.finconsgroup.itserr.marketplace.usercommunication.dm.component.ChatApplicationEventListener
- All Implemented Interfaces:
EventListener,org.springframework.context.ApplicationListener<ChatMessageApplicationEvent>
@ConditionalOnProperty(value="type",
prefix="user-communication.dm.messaging",
havingValue="SPRING_EVENTS")
@Component
public class ChatApplicationEventListener
extends Object
implements org.springframework.context.ApplicationListener<ChatMessageApplicationEvent>
Application Event listener for
ChatMessageApplicationEvents to handle the received chat messages
and user notifications.-
Constructor Details
-
ChatApplicationEventListener
public ChatApplicationEventListener()
-
-
Method Details
-
onApplicationEvent
- Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<ChatMessageApplicationEvent>
-