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

Failover EIP - Should use defensive copy of exchange before failover to avoid side effects

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.1
    • 2.8.5, 2.9.2, 2.10.0
    • camel-core
    • None
    • Unknown

    Description

      When using the failover load balancer, it works directly on the given exchange, and in case of a failover, it clears the exception state etc.

      However this does not work too well as if you use a processor directly then you can mutate the message before failover, which mean when the exchange is failed over, then its a 100% copy of the input message, but the previously mutated message.

      We should do like the other EIPs by doing a defensive copy of the exchange.

      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: