Skip to content

Commit

Permalink
Update MessageConsumer.java
Browse files Browse the repository at this point in the history
  • Loading branch information
roeschter committed Jan 16, 2025
1 parent e29e923 commit 30733c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/nats/client/MessageConsumer.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public interface MessageConsumer extends AutoCloseable {
* Unsubscribe the underlying subject. Close will be lenient. In flight and buffered messages may still be delivered.
*/
@Override
void close();
void close() throws Exception;

/**
* Stopped indicates whether consuming has been stopped. Can be stopped without being finished.
Expand Down

0 comments on commit 30733c7

Please sign in to comment.