Skip to content

Commit 1b38f94

Browse files
authored
GH-2546: Fix Super Stream Example in Docs (#2547)
Resolves #2546 Incorrectly added prototype scope to the bean (copy/paste from test).
1 parent 8031326 commit 1b38f94

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/reference/asciidoc/stream.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,6 @@ Invoke the `superStream` method on the listener container to enable a single act
295295
[source, java]
296296
----
297297
@Bean
298-
@Scope(ConfigurableBeanFactory.SCOPE_PROTOTYPE)
299298
StreamListenerContainer container(Environment env, String name) {
300299
StreamListenerContainer container = new StreamListenerContainer(env);
301300
container.superStream("ss.sac", "myConsumer", 3); // concurrency = 3

0 commit comments

Comments
 (0)