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

DefaultExchangeFormatter: Make it easy to override the header and property formatting

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.23.0
    • None
    • None
    • Unknown

    Description

      To omit certain headers (or mask their values) in ExchangeFormatter, one can write a custom implementation. 

      In [DefaultExchangeFormatter|https://github.com/apache/camel/blob/apache-master/camel-core/src/main/java/org/apache/camel/processor/DefaultExchangeFormatter.java,] ... it would be nice if the header-formatting (maybe the Property formatting) was done as separate methods that we could over-ride, while keeping the rest of the functionality.

      Not sure if it would be acceptable to do this without also changing the ExchangeFormatter interface to add such methods.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            dariusx Darius Cooper
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: