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

Andrea Tarocchi commented on CAMEL-20399:
-----------------------------------------

pr opened: https://github.com/apache/camel/pull/13060

> String to short type conversion fails
> -------------------------------------
>
>                 Key: CAMEL-20399
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20399
>             Project: Camel
>          Issue Type: Bug
>          Components: core
>            Reporter: Andrea Tarocchi
>            Assignee: Andrea Tarocchi
>            Priority: Major
>
> 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)

Reply via email to