[
https://issues.apache.org/jira/browse/CAMEL-11380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-11380.
---------------------------------
Resolution: Fixed
> Optimise - Allow to turn DataType on or off on Message
> ------------------------------------------------------
>
> Key: CAMEL-11380
> URL: https://issues.apache.org/jira/browse/CAMEL-11380
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.20.0
>
>
> We can optimise to not create DataType instances on the Message instance if
> its not really needed.
> Its part of the new route contract where it is used to know the data type and
> then do contract enforcement and validation/conversion if needed.
> But for regular use-cases it has not so much value ... yet.
> So we should maybe turn it off by default, and allow to turn it on|off, and
> then turn it on if you use contract enforcement.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)