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

recipientList stop if the second endpoint throw exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Bug
    • 2.16.2
    • 2.16.3, 2.17.1, 2.18.0
    • camel-core
    • None

    Description

      this code is ok and do the agregate :

      from("direct:rlAggregate")
      .process(new Processor()

      { String destinations = "bean:throwingExceptionConsumerB, bean:consumerC";}

      })
      .recipientList(header("destinations"), ",").parallelProcessing().aggregationStrategy(agg);

      an this one not :

      from("direct:rlAggregate")
      .process(new Processor()

      { String destinations = "bean:consumerC, bean:throwingExceptionConsumerB";}

      })
      .recipientList(header("destinations"), ",").parallelProcessing().aggregationStrategy(agg);

      it's throwing :

      org.apache.camel.CamelExecutionException: Exception occurred during execution on the exchange

      they should have the same results. And only the option stopOnException should allow to stop when an Exception rise.

      Attachments

        1. recipientList.rar
          23 kB
          courtin
        2. recipientList.zip
          32 kB
          courtin

        Activity

          People

            trohovsky Tomas Rohovsky
            nuskhu courtin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: