Created
November 30, 2019 12:30
-
-
Save albertoaflores/07daec18674e5ffbceab3a800687a6e2 to your computer and use it in GitHub Desktop.
Using Async to force multiple threads to create payloads.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Async("myThreadPoolTaskExecutor") | |
public Object createPayload() { | |
// return payload pojo | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment