Like close, but cause the subscription closed future to fail
Like close, but cause the subscription closed future to fail
Note, if the subscription is closed for some other reason before this method is called, then this is a no-op
Like close, but don't wait for pending messages to finish processing.
Causes consumer to immediately stop receiving new messages; once pending messages are complete / acknowledged, shut down all associated actors, channels, etc.
Causes consumer to immediately stop receiving new messages; once pending messages are complete / acknowledged, shut down all associated actors, channels, etc.
If pending messages aren't complete after the provided timeout (default 5 minutes), the channel is closed and the unacknowledged messages will be scheduled for redelivery.
Future is completed the moment the subscription closes.
Future is completed once the message queue and associated bindings are configured.