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

Multicast Processor - Add option to stop further processing in case of an exception occurred

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.1.0
    • camel-core
    • None

    Description

      I think there is a old ticket about this as well, where XXX does not throw exception if an exception failed. But I cant find it. So creating a new ticket.

      We should add this option to multicast (hence also splitter as its based on multicast)

          /**
           * Will now stop further processing if an exception occurred during processing of an
           * {@link org.apache.camel.Exchange} and the caused exception will be thrown.
           * <p/>
           * The default behavior is to <b>not</b> stop but continue processing till the end
           *
           * @return the builder
           */
          public MulticastDefinition stopOnException() {
              setStopOnException(true);
              return this;
          }
      

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: