[
https://issues.apache.org/jira/browse/CAMEL-12609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16533485#comment-16533485
]
ASF GitHub Bot commented on CAMEL-12609:
----------------------------------------
GitHub user DariusX opened a pull request:
https://github.com/apache/camel/pull/2408
CAMEL-12609: Filter Headers/Properties in DefaultExchangeFormatter
DefaultExchangeFormatter: Add a NOP method that can be used by child
classes to filter headers and properties.
I
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/DariusX/camel
CAMEL-12609-DefaultExchangeFormatter
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/2408.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2408
----
commit 6e20f4bb59ead9a84a027573893f08a95c9d5bfa
Author: dariusx <dariuscooper@...>
Date: 2018-07-05T10:22:54Z
CAMEL-12609: Filter Headers/Properties in DefaultExchangeFormatter
----
> DefaultExchangeFormatter: Make it easy to override the header and property
> formatting
> --------------------------------------------------------------------------------------
>
> Key: CAMEL-12609
> URL: https://issues.apache.org/jira/browse/CAMEL-12609
> Project: Camel
> Issue Type: Improvement
> Reporter: Darius Cooper
> Priority: Minor
>
> 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)