package jnpf.limsService.client; import jnpf.message.model.SentMessageForm; import jnpf.utils.FeignName; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import java.util.List; /** * LIMS message client without the platform client's silent fallback. * Transport failures must be visible so delivery rows are not marked SENT incorrectly. */ @FeignClient(name = FeignName.MESSAGE_SERVER_NAME, contextId = "limsMessageClient", path = "/MessageAll") public interface LimsMessageClient { @PostMapping("/sendScheduleMessage") List sendScheduleMessage(@RequestBody SentMessageForm sentMessageForm); }