Skip to content

Instantly share code, notes, and snippets.

@danielkec
Created January 12, 2021 20:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielkec/b67534d225520d1e4c574e53e4678127 to your computer and use it in GitHub Desktop.
Save danielkec/b67534d225520d1e4c574e53e4678127 to your computer and use it in GitHub Desktop.
@Incoming("from-wls-1")
public void receive1(String payld) {
sseBroadcaster.broadcast(new OutboundEvent.Builder().data("Q1: " + payld).build());
}
@Incoming("from-wls-2")
public void receive2(String payld) {
sseBroadcaster.broadcast(new OutboundEvent.Builder().data("Q2: " + payld).build());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment