Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-3723

Use trigger name as cloud event type in producer

XMLWordPrintable

    • 2020 Week 43-45 (from Okt 19)

      Currently the type of the cloud event in processes is inferred from the class type of the generated message. Instead, we use the `message` type in the model. This way a process can declare the messages it emits and the messages it expects; the MessageConsumer will only accept messages of those types.

      This also makes it easier to write cases where the kogito_incoming_stream and kogito_outgoing_stream actually correspond to the same channel (i.e. we are writing to a channel that will be subscribed by another process within the same application) because the names of the messages are now predictable and user-defined.

      see attached pic

            evacchi Edoardo Vacchi (Inactive)
            evacchi Edoardo Vacchi (Inactive)
            Marian Macik Marian Macik
            Marian Macik Marian Macik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: