Page History
...
Download the library used in this example: jms-example-jar.zip. This
The archive contains
- the
...
-
jms-example-js7.jar
used in this example. - a configuration file named
js7_jms.config
containing credentials for the connection and information about the workflow to start.
Download the workflow configuration (upload .json): jms_example_workflow.zip.
...
The Java executable has to be included in the PATH
environment variable or the Java call has to be adjusted with the path to the Java executable.
Note |
---|
Make sure that the configuration file js7_jms.config from the archive is stored in the same path as the library jms-example-js7.jar used in the workflow. |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "version": "1.1.0", "timeZone": "Europe/Berlin", "instructions": [ { "TYPE": "Execute.Named", "jobName": "producer_job", "label": "job_produce" }, { "TYPE": "Execute.Named", "jobName": "consumer_job", "label": "job_consume" } ], "jobs": { "producer_job": { "agentName": "standaloneAgent", "executable": { "TYPE": "ShellScriptExecutable", "script": "java -jar C:/tmp/jms-example-js7.jar produce", "v1Compatible": false }, "skipIfNoAdmissionForOrderDay": false, "parallelism": 1, "graceTimeout": 15, "failOnErrWritten": false, "warnOnErrWritten": false, "title": "produce" }, "consumer_job": { "agentName": "standaloneAgent", "executable": { "TYPE": "ShellScriptExecutable", "script": "java -jar C:/tmp/jms-example-js7.jar consume", "v1Compatible": false }, "skipIfNoAdmissionForOrderDay": false, "parallelism": 1, "graceTimeout": 15, "failOnErrWritten": false, "warnOnErrWritten": false, "title": "consumer" } } } |
...
Overview
Content Tools