[
https://issues.apache.org/jira/browse/CAMEL-12609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16533489#comment-16533489
]
ASF GitHub Bot commented on CAMEL-12609:
----------------------------------------
davsclaus commented on a change in pull request #2408: CAMEL-12609: Filter
Headers/Properties in DefaultExchangeFormatter
URL: https://github.com/apache/camel/pull/2408#discussion_r200305047
##########
File path:
camel-core/src/main/java/org/apache/camel/processor/DefaultExchangeFormatter.java
##########
@@ -235,6 +235,16 @@ public String format(Exchange exchange) {
}
}
+ /**
+ * Filters the headers or properties before formatting them. No default
behavior, but can be overridden.
+ *
+ * @param map
Review comment:
Can you remove these empty/no-used javadoc lines
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> 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)