Skip to content

Instantly share code, notes, and snippets.

@yamen23ali
Created November 11, 2016 19:47
@SqsListener(value = "my_queue_name", deletionPolicy = SqsMessageDeletionPolicy.ON_SUCCESS)
public void consume(MyEvent event) {
//TODO handle the received event
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment