You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2017/03/16 08:11:41 UTC

[jira] [Commented] (CAMEL-11019) Please insert setter and getter for MESSAGE_HISTORY_HEADER and MESSAGE_HISTORY_OUTPUT

    [ https://issues.apache.org/jira/browse/CAMEL-11019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15927644#comment-15927644 ] 

Claus Ibsen commented on CAMEL-11019:
-------------------------------------

What are you asking for? Do you want to be able to re-size the text that Camel logs when an exception for example is logged?

You can access the message history yourself at any time and build your own logging or whatnot also
http://camel.apache.org/message-history.html

We could for example allow to configure a length on the global options that it uses.
And then use that to change the size in this code
org.apache.camel.util.MessageHelper#doDumpMessageHistoryStacktrace




> Please insert setter and getter for MESSAGE_HISTORY_HEADER and MESSAGE_HISTORY_OUTPUT
> -------------------------------------------------------------------------------------
>
>                 Key: CAMEL-11019
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11019
>             Project: Camel
>          Issue Type: Wish
>          Components: camel-core
>    Affects Versions: 2.17.5
>            Reporter: Björn Paulsen
>            Priority: Minor
>
> We use IDs for Processors and some others. Our IDs are longer than 18 chars so we cannot read the MessageHistory clearly. But MessageHelper is final and both properties too. Please give us a chance to customize the MessageHistory. Thank you



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)