Skip to content

Instantly share code, notes, and snippets.

@chathurangat
Created July 29, 2018 15:50
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 chathurangat/879eb564a590c7ae6951d5ba5a20c1af to your computer and use it in GitHub Desktop.
Save chathurangat/879eb564a590c7ae6951d5ba5a20c1af to your computer and use it in GitHub Desktop.
import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;
public interface OrderSource
{
String OUTPUT = "orderPublishChannel";
@Output(OUTPUT)
MessageChannel create();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment