Skip to content

Substitue for @NotificationMessage with @SqsListener in 3.0 #815

Answered by Stef569
mariuszptasinskii asked this question in Q&A
Discussion options

You must be logged in to vote

Simply create a pojo with 1 field Message as parameter

public void getEventFromQueue( NotificationEvent event ) {
event.getMessage();
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mariuszptasinskii
Comment options

Answer selected by mariuszptasinskii
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants