Skip to content

Commit

Permalink
+ doc
Browse files Browse the repository at this point in the history
  • Loading branch information
q3769 committed Sep 22, 2023
1 parent 57c9d2e commit babe185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ public class MessageConsumer {
* linear progression of execution stages with {@link java.util.concurrent.CompletableFuture}.
*/
public void onMessage(Message shoppingEvent) {
conseqExecutor.submit(() -> shoppingEventProcessor.process(shoppingEvent), shoppingEvent.getShoppingCartId());
conseqExecutor.execute(() -> shoppingEventProcessor.process(shoppingEvent), shoppingEvent.getShoppingCartId());
}
}
```
Expand Down

0 comments on commit babe185

Please sign in to comment.