Class HvlNotificationStompWsServiceImpl
java.lang.Object
tr.com.havelsan.javarch.notification.stomp.ws.starter.logic.HvlNotificationStompWsServiceImpl
- All Implemented Interfaces:
HvlNotificationStompWsService
@Service
public class HvlNotificationStompWsServiceImpl
extends Object
implements HvlNotificationStompWsService
The class which implements
HvlNotificationStompWsService
-
Constructor Summary
ConstructorDescriptionHvlNotificationStompWsServiceImpl
(org.springframework.messaging.simp.SimpMessagingTemplate simpMessagingTemplate) Instantiates a new HvlNotificationStompWsService. -
Method Summary
Modifier and TypeMethodDescriptionvoid
notify
(@NotNull @Valid HvlNotificationStompWsMessage notificationStompWsMessage) Sends notification
-
Constructor Details
-
HvlNotificationStompWsServiceImpl
public HvlNotificationStompWsServiceImpl(org.springframework.messaging.simp.SimpMessagingTemplate simpMessagingTemplate) Instantiates a new HvlNotificationStompWsService.- Parameters:
simpMessagingTemplate
- the simp messaging template
-
-
Method Details
-
notify
public void notify(@NotNull @Valid @NotNull @Valid HvlNotificationStompWsMessage notificationStompWsMessage) throws HvlNotificationStompWsException Sends notification- Specified by:
notify
in interfaceHvlNotificationStompWsService
- Parameters:
notificationStompWsMessage
- ex. user/xx,announcement- Throws:
HvlNotificationStompWsException
- the hvl notification stomp ws exception
-