Skip to content

Commit 6221263

Browse files
committed
GH-1465: Polish Super Stream Javadocs
1 parent 094781e commit 6221263

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

spring-rabbit-stream/src/main/java/org/springframework/rabbit/stream/listener/StreamListenerContainer.java

+5
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@ public StreamListenerContainer(Environment environment, @Nullable Codec codec) {
9090
this.streamConverter = new DefaultStreamMessageConverter(codec);
9191
}
9292

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

99103
/**
100104
* Enable Single Active Consumer on a Super Stream.
105+
* Mutually exclusive with {@link #setQueueNames(String...)}.
101106
* @param superStream the stream.
102107
* @param name the consumer name.
103108
* @since 3.0

0 commit comments

Comments
 (0)