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

Events sending produce no errors if the target endpoint is not available

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 1.40.0.Final
    • 1.39.0.Final
    • Core Engine
    • None
    • False
    • None
    • False
    • ---
    • ---
    • 2023 Week 21-23 (from May 22)

      1) Let's have a simple SW that produce an event.

       

      2) Let's configure the kogito_outgoing_stream like this:

      mp.messaging.outgoing.kogito_outgoing_stream.connector=quarkus-http
      mp.messaging.outgoing.kogito_outgoing_stream.url=http://localhost:9292
      mp.messaging.outgoing.kogito_outgoing_stream.method=POST

       

      3) let's configure the  kogito-addons-quarkus-knative-eventing in the project, but the issue also happens if we simply use the  kogito-addons-quarkus-messaging combined with the quarkus-http connector instead of kafka.

       

      4) Create a SW process instance that should send an event as part of it's execution, see attached process.

       

      5) In the port 9292 DON'T start any service, etc.

       

      6) when you execute the process, the process executes, nothing complains. So it looks like the event was sent, but really there's nothing listening there.

       

              ftirados Francisco Javier Tirado Sarti
              wmedvede@redhat.com Walter Medvedeo
              Marian Macik Marian Macik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: