Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Download the library used in this example: js7-jms-example-jar.zip.
The archive contains

...

Download the workflow configuration (upload .json):  js7-jms_example_workflow.zip.

...

Code Block
languageperl
titlejs7_jms_config
collapsetrue
# Message Server Settings
jms_url         = tcp://localhost:61616
jms_queue_name  = test
jms_queue_ttl	= 5000

# JS7 JOC Settings
joc_api_url     = http://localhost:4444/joc/api/
username        = root
password        = root

# /orders/add API Settings
controller_id   = standalonejs7
workflow_path   = /JS7Demo/01_HelloWorld/jdHelloWorld

myWorkflowToStart  


Workflow

The workflow in this example includes two jobs which both call the main class of the JmsExample.java class with either a produce or a consume argument.

...

Note
Make sure that the configuration file js7-jms-example.config from the archive is stored in the same path as the library js7-jms-example.jar used in the workflow.

...