Skip to content

Add convenient getter for stream name #2961

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 10, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,13 @@ public StreamListenerContainer(Environment environment, @Nullable Codec codec) {
: new DefaultStreamMessageConverter();
}

/**
* Get a name of stream this listener listens to.
*/
public String getStreamName() {
return streamName;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Must be with this..
Also add @since 3.2.3 to this method JavaDocs and your name to the @author list.
Thanks.

}

/**
* {@inheritDoc}
* Mutually exclusive with {@link #superStream(String, String)}.
Expand Down
Loading