camel-dev 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-1459) TypeConverter - Avoid NoSuchTypeConverterException that can degrade performance
Date Wed, 18 Mar 2009 11:39:02 GMT

    [ 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.


Mime
View raw message