Created
December 17, 2021 19:03
-
-
Save lmolkova/a071e0dfefd33b8a6e2a38070d3d8648 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Autowired | |
ServiceBusSenderClient serviceBusClient; | |
@PostMapping("/queues") | |
public String send(@RequestParam("message") String message) { | |
serviceBusClient.sendMessage(new ServiceBusMessage(message)); | |
return message; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment