@reactorynet/workflow-es-azure
v3.0.0
Published
Azure Storage distributed lock + queue providers for Workflow ES (Reactory fork)
Readme
Azure providers for Workflow ES
Provides distributed lock management and queue services on Workflow ES using Azure Storage.
Package renamed. As of
2.4.0-reactory.0this package is published as@reactorynet/workflow-es-azure(wasworkflow-es-azure) and targets the@reactorynet/workflow-escore. The core libs (@reactorynet/workflow-es,inversify,reflect-metadata) are now peer dependencies.
Installing
Install the npm package "@reactorynet/workflow-es-azure"
> npm install @reactorynet/workflow-es-azure --saveUsage
Use the .useLockManager() and .useQueueManager() methods when setting up your workflow host.
const workflow_es = require("workflow-es");
const workflow_azure = require("workflow-es-azure");
...
var config = workflow_es.configureWorkflow();
config.useLockManager(new workflow_azure.AzureLockManager('Azure storage connection string'));
config.useQueueManager(new workflow_azure.AzureQueueProvider('Azure storage connection string'));
var host = config.getHost();
...
await host.start();