Interface HvlNotificationStompWsRestService

All Known Implementing Classes:
HvlNotificationStompWsRestController

@HvlPublicFeignRestService @FeignClient(name="notificationStompWsRestService", path="${hvl.notification.ws.stomp.service.path:/stompws}", url="${hvl.notification.ws.stomp.service.announcement.url:${hvl.notification.ws.stomp.service.url}}") public interface HvlNotificationStompWsRestService
A restful service which provides specific methods for notification stomp web socket.
  • Method Summary

    Modifier and Type
    Method
    Description
    tr.com.havelsan.javarch.service.data.HvlResponse<Void>
    notify(@NotNull @Valid HvlNotificationStompWsMessage stompWsMessage)
    Sends notification.
  • Method Details

    • notify

      @PostMapping(path="/notify", consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<Void> notify(@NotNull @Valid @RequestBody @NotNull @Valid HvlNotificationStompWsMessage stompWsMessage) throws HvlNotificationStompWsException
      Sends notification.
      Parameters:
      stompWsMessage - ex. user/xx,announcement
      Returns:
      HvlResponse the hvl response
      Throws:
      HvlNotificationStompWsException - the hvl notification stomp ws exception