Skip to content

Commit

Permalink
GH-1465: Polish Super Stream Javadocs
Browse files Browse the repository at this point in the history
  • Loading branch information
garyrussell committed Sep 26, 2022
1 parent 094781e commit 6221263
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -90,6 +90,10 @@ public StreamListenerContainer(Environment environment, @Nullable Codec codec) {
this.streamConverter = new DefaultStreamMessageConverter(codec);
}

/**
* {@inheritDoc}
* Mutually exclusive with {@link #superStream(String, String)}.
*/
@Override
public void setQueueNames(String... queueNames) {
Assert.isTrue(queueNames != null && queueNames.length == 1, "Only one stream is supported");
Expand All @@ -98,6 +102,7 @@ public void setQueueNames(String... queueNames) {

/**
* Enable Single Active Consumer on a Super Stream.
* Mutually exclusive with {@link #setQueueNames(String...)}.
* @param superStream the stream.
* @param name the consumer name.
* @since 3.0
Expand Down

0 comments on commit 6221263

Please sign in to comment.