Last active
November 14, 2023 14:32
-
-
Save berndruecker/376eebc1b7d7764dfe8099ae783eeafe to your computer and use it in GitHub Desktop.
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
@JobWorker(type = "payment") | |
public void retrievePayment(ActivatedJob job) { | |
// Do whatever you need to, e.g. invoke a remote service | |
String orderId = job.getVariablesMap().get("orderId"); | |
paymentRestClient.invoke(...); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment