Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-12555

saga-eip: do not hang if option cannot be computed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.21.0, 2.21.1
    • 2.22.0
    • None
    • None
    • Unknown

    Description

      Saga-enabled exchanges hang if the expression associated with a option fails. We should throw a error and conclude the saga with failure instead.

      from("timer:tick")
        .saga().option("data", simple("${something / fails}"))
            .log("exchange and saga hang...")

       

      Attachments

        Activity

          People

            nferraro Nicola Ferraro
            nferraro Nicola Ferraro
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: