[
https://issues.apache.org/jira/browse/CAMEL-7266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marcus Krantz updated CAMEL-7266:
---------------------------------
Affects Version/s: 2.12.3
> TraceEventMessage should not return String in methods getProperties() and
> getHeaders()
> --------------------------------------------------------------------------------------
>
> Key: CAMEL-7266
> URL: https://issues.apache.org/jira/browse/CAMEL-7266
> Project: Camel
> Issue Type: Wish
> Components: camel-core
> Affects Versions: 2.12.3
> Reporter: Marcus Krantz
>
> I would like to save trace event messages into a MongoDB. Since there is no
> need for a schema, I would like to persist properties and headers as pure
> json.
> In the DefaultTraceEventMessage the properties map as well as the headers map
> are converted to Strings (using toString()) due to the fact that the
> TraceEventMessage interface defines the methods getProperties() and
> getHeaders() to return a String. It would be much better if the headers and
> properties could be left as is (Map<String, Object>) which would allow me to
> persist the maps directly to my NoSQL-database.
--
This message was sent by Atlassian JIRA
(v6.2#6252)