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

Support SmallRye Reactive Messaging Camel Connector for BPMN2 message events

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • 1.8.0.Final
    • 0.10.1
    • Core Engine
    • None

      Our MessageConsumers and MessageProducers use SmallRye Reactive Messaging to connect to Kafka (via the kafka-connector). However, there is also a camel-connector that allows us to use Camel components to send an receive messages.

      By supporting this Camel connector, we can virtually connect our engine to anything.

      To support this, we need to adapt the MessageConsumer generator to not only accept a type of "String", as that type is not always the type created by the Camel Components: https://github.com/kiegroup/kogito-runtimes/blob/master/kogito-codegen/src/main/resources/class-templates/MessageConsumerTemplate.java#L37

      We should probably adjust this template in such a way that we create the consumer (and probably producer) impl based on the type of connector used. E.g. when using the camel-file component, the expected type is "GenericFile<File>".

            cnicolai@redhat.com Cristiano Nicolai
            rhn-gps-ddoyle Duncan Doyle (Inactive)
            Marian Macik Marian Macik
            Marian Macik Marian Macik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: