Created
July 24, 2018 23:54
-
-
Save cjus/20f6a8aceaf3db4e4e01620e7da96583 to your computer and use it in GitHub Desktop.
Job queuing example
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 queueAggregatorJob(jobID, status, statusMessage) { | |
return hydra.queueMessage(hydra.createUMFMessage({ | |
to: 'aggregator-svcs:/', | |
frm: 'segment-transfer-svcs', | |
typ: 'process', | |
bdy: { | |
jobID, | |
status, | |
statusMessage | |
} | |
})); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment