|
@@ -7,7 +7,7 @@ import org.springframework.stereotype.Component;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
|
|
|
|
|
-@FeignClient(name = "transfers-server" , fallback = SendMessageApiFallBack.class)
|
|
|
|
|
|
|
+@FeignClient(name = "transfers-server" , fallback = SendMessageApi.SendMessageApiFallBack.class)
|
|
|
public interface SendMessageApi {
|
|
public interface SendMessageApi {
|
|
|
|
|
|
|
|
@PostMapping("/send/Message")
|
|
@PostMapping("/send/Message")
|