Versions Compared

Key

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

...

This microservice adds a watermark to the content file of a given document object and saves it as a new object version.

...

Description

The microservice does the following:

  • Listens to the message queue to see whether a message with the value documentchanged has arrived
  • Checks a concrete specific document type to see whether the watermark flag (Boolean) is set
  • If the flag is not set, a CMD command calls the external program pdftk. This program temporarily downloads the content, inserts the watermark into the PDF and inserts then saves the content back as a new object version.

A config file consists of control parameters which:

...