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

Claus Ibsen commented on CAMEL-84:
----------------------------------

This is hard to remedy. Camel internals is used to/dependent upon that Camel 
silently ignores the fact that it could no convert the type and returns a null.

We have other tickets reported in JIRA for improvements to the type converter 
system to get
- hold of meta data so you can do context based type conversions (get access to 
the Exchange etc.)
- get hold of user specified encodings for conversion with bytes
- etc.



> Throw Useful Exception on No TypeConverter Available
> ----------------------------------------------------
>
>                 Key: CAMEL-84
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-84
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.0.0
>            Reporter: Brian McCallister
>            Assignee: Hadrian Zbarcea
>             Fix For: 1.4.0
>
>         Attachments: camel-84.patch
>
>
> When there is no type converter available an NPE is thrown that requires 
> tracing through sources to find root of problem

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to