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

Allow more flexible mapping between message types and channel names

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 1.19.0.Final
    • None
    • Core Engine
    • None
    • 2022 Week 08-10 (from Feb 21)

      Right now, Kogito search for channel name equal to message name. But, since Kogito also internally filter messages base on message name and Smallrye does not allow repeating the same channel name for incoming and outgoing, this actually prevents to reuse the same topic both for receiving/publishing unless using default channel.

      To prevent this limitations, and further ones we have not found yet, it will be nice to establish an additional level of indirection, so we can map the message name to the channel name (if not mapping is provided, current policy will be taken).

      This can be done by providing properties with the following pattern

      kogito.addon.messaging.[incoming|outgoing].trigger.<message_type>=<channel_name>

       

              ftirados Francisco Javier Tirado Sarti
              ftirados Francisco Javier Tirado Sarti
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: