Andrea Tarocchi created CAMEL-20399:
---------------------------------------

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


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