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] Resolved: (CAMEL-2106) camel-bean - Should throw NoTypeConversionAvailableException if body cannot be converted to parameter type
Date Sun, 25 Oct 2009 15:03:53 GMT

     [ https://issues.apache.org/activemq/browse/CAMEL-2106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen resolved CAMEL-2106.
--------------------------------

    Resolution: Fixed

The same applies for headers etc.
In fact its all parameter types that Camel *now must* be able to convert to.

> camel-bean - Should throw NoTypeConversionAvailableException if body cannot be converted
to parameter type
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2106
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2106
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 1.6.1, 2.0.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.1.0
>
>
> If you route a message to a bean which has for example a {{org.w3c.Document}} as parameter
type for the body, then Camel should thrown an conversion exception in case the payload cannot
be converted to that type. And on the same time if the payload is really {{null}} then Camel
should of course pass in null.

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