camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-11019) Please insert setter and getter for MESSAGE_HISTORY_HEADER and MESSAGE_HISTORY_OUTPUT
Date Thu, 16 Mar 2017 08:12:41 GMT

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

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

Contributions is welcome.

For example we could allow to set these values
{code}
    private static final String MESSAGE_HISTORY_HEADER = "%-20s %-20s %-80s %-12s";
    private static final String MESSAGE_HISTORY_OUTPUT = "[%-18.18s] [%-18.18s] [%-78.78s]
[%10.10s]";
{code}

So you can do

camelContext.getGlobalOptions.put("MessageHistoryHeader", ...);
camelContext.getGlobalOptions.put("MessageHistoryOutput", ...);



> 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)

Mime
View raw message