刘光辉
16 小时以前 34981c30a78e8bbd7791131059a9210f9928b62c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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<String> sendScheduleMessage(@RequestBody SentMessageForm sentMessageForm);
}