[
https://issues.apache.org/activemq/browse/CAMEL-1459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50633#action_50633
]
Claus Ibsen commented on CAMEL-1459:
------------------------------------
Game plans is:
- Add getMandatoryBody(Class type) to {{org.apache.camel.Message}} that will
thrown a NoTypeConvertException if not possible to convert.
- Existing getBody() will *not* throw the exception but return {{null}} if no
convertions possible
- Add mandatoryConvertTo(Class type, Object value) to
{{org.apache.camel.spil.TypeConverter}} that will thrown a
NoTypeConvertException if not possible to convert.
- Existing convertBody() will *not* throw the exception but return {{null}} if
no convertions possible
> TypeConverter - Avoid NoSuchTypeConverterException that can degrade
> performance
> -------------------------------------------------------------------------------
>
> Key: CAMEL-1459
> URL: https://issues.apache.org/activemq/browse/CAMEL-1459
> Project: Apache Camel
> Issue Type: Improvement
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Critical
> Fix For: 2.0.0
>
>
> See nabble:
> http://www.nabble.com/Camel-2.0---About-type-converter-degrade-performance-issue-td22532536s22882.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.