Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
private MessageChannel messageChannel;
private String message;
@Description("Post new reservations using Spring Cloud Stream")
@RequestMapping(method = POST)
public void acceptNewReservations(@RequestBody Reservation r) {
Message<String> build = withPayload(r.getReservationName()).build();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment