Skip to content

Commit

Permalink
GH-2546: Fix Super Stream Example in Docs (#2547)
Browse files Browse the repository at this point in the history
Resolves #2546

Incorrectly added prototype scope to the bean (copy/paste from test).
  • Loading branch information
garyrussell committed Oct 25, 2023
1 parent 923055f commit 7a92b41
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/reference/asciidoc/stream.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,6 @@ Invoke the `superStream` method on the listener container to enable a single act
[source, java]
----
@Bean
@Scope(ConfigurableBeanFactory.SCOPE_PROTOTYPE)
StreamListenerContainer container(Environment env, String name) {
StreamListenerContainer container = new StreamListenerContainer(env);
container.superStream("ss.sac", "myConsumer", 3); // concurrency = 3
Expand Down

0 comments on commit 7a92b41

Please sign in to comment.