You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i'm injecting MessageListenerContainerRegistry and calling then next methods:
messageListenerContainerRegistry.getContainerById(listenerId).stop();
what code can i run before this to make sure the SqsContainerListener is currently not proccesing a message?
I though about cheking queue attributes and making sure ApproximateNumberOfMessagesNotVisible=0
Will that approach work? are there better options?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
i'm injecting MessageListenerContainerRegistry and calling then next methods:
messageListenerContainerRegistry.getContainerById(listenerId).stop();
what code can i run before this to make sure the SqsContainerListener is currently not proccesing a message?
I though about cheking queue attributes and making sure ApproximateNumberOfMessagesNotVisible=0
Will that approach work? are there better options?
Beta Was this translation helpful? Give feedback.
All reactions