Class SpringEventMessagingService
java.lang.Object
com.finconsgroup.itserr.marketplace.usercommunication.dm.service.impl.SpringEventMessagingService
- All Implemented Interfaces:
MessagingService
@Service
@ConditionalOnProperty(value="type",
prefix="user-communication.dm.messaging",
havingValue="SPRING_EVENTS")
public class SpringEventMessagingService
extends Object
implements MessagingService
Implementation for
MessagingService that sends the messages as Spring Events.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsendChatMessage(ChatMessage chatMessage) Sends a chat message to the chat queuevoidsendUserNotification(ChatMessage notification) Sends a user notification message to the user notification queue
-
Constructor Details
-
SpringEventMessagingService
public SpringEventMessagingService()
-
-
Method Details
-
sendChatMessage
Description copied from interface:MessagingServiceSends a chat message to the chat queue- Specified by:
sendChatMessagein interfaceMessagingService
-
sendUserNotification
Description copied from interface:MessagingServiceSends a user notification message to the user notification queue- Specified by:
sendUserNotificationin interfaceMessagingService
-