Versions Compared

Key

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

...

  • Message Queue Services are a common means for Enterprise Application Integration (EAI). Users who operate a Message Queue Service want to integrate their applications with JS7. Patterns for EAI include:
    • applications send sending requests to add orders to workflows by use of using the JS7 - REST Web Service API.
    • applications receive receiving processing results from jobs and workflows executed with by JS7.
  • EAI scenarios provide the following advantages:
    • reduce reduction of complexity:
      • at the topological level each application implements only one interface to the Message Queue Service.
      • of error handling as a Message Queue Service is considered to be highly available.
    • manage centralized management of messages centrally.
  • The JMS integration scenario includes a separate Java-based consumer to be which is implemented in order to receive and to parse messages and to translate messages into requests to add orders. Reasons for this decision approach include:
    • JMS is standardized. However, however, the content and format of messages requires individual parsing.
    • JS7 offers a JSON based REST Web Service API that can be used by any consumer to add orders by using REST API calls.

Use with Generic Jobs

...

  • The implementation is independent from of the JS7 release and consists of Java examples that are separately available, see the references below references.

Scenario 1: Detached JS7 JMS Interface

...

  • Creates a text message in JSON format for the queue "Workflows". The content of the message is could be, for example:
    {"controllerId":"testsuite","orders":[{"workflowPath":"/JS7Demo/01_HelloWorld/jdHelloWorld","scheduledFor":"now"}],"auditLog":{}}
  • sends Sends the message to the specific queue.

...

  • Reads a message from the queue „Workflows" and sends the JSON body by use of using the JS7 REST Web Service API.

...

  • A Java job runs in a workflow and implements the Producer to send information to the Message Queue Service after completion of a number of JS7 - Job Instructions in a workflow.
  • A Java job runs in a workflow and implements the Consumer, i.e. connects to the Message Queue Service to check for new messages that include parameterization to add parameters for adding orders to JS7.
  • The Producer as well as the Consumer can run in any workflow.

2. Producer

...

The pre-processing includes to:

  • merge merging the received XML snippet of a YADE configuration into the existing configuration:
    • determine from the delivered nodes determining which options have to be changed from the nodes that are delivered
    • extracting extract the values
    • map mapping the extracted values to the relevant options

...

  • The implementation allows a Message Service to be used in order to forward notifications to a System Monitor 
  • Support for notifications via Message Services is added with 
    Jira
    serverSOS JIRA
    columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
    serverId6dc67751-9d67-34cd-985b-194a8cdc9602
    keyJITL-280

...