[
https://issues.apache.org/jira/browse/CAMEL-20399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen updated CAMEL-20399:
--------------------------------
Fix Version/s: 4.4.0
> String to short type conversion fails
> -------------------------------------
>
> Key: CAMEL-20399
> URL: https://issues.apache.org/jira/browse/CAMEL-20399
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Reporter: Andrea Tarocchi
> Assignee: Andrea Tarocchi
> Priority: Minor
> Fix For: 4.4.0
>
>
> String to short type conversion fails with:
> {code:java}
> NoTypeConversionAvailable No type converter available to convert from type:
> java.lang.String to the required type: short
> {code}
> to reproduce it just test:
> {code:java}
> assertEquals(Short.parseShort("1"),
> context.getTypeConverter().mandatoryConvertTo(short.class, "1"));
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)