James Netherton created CAMEL-21089: ---------------------------------------
Summary: camel-core: CamelBaseBulkConverterLoader should handle conversion to byte primitive Key: CAMEL-21089 URL: https://issues.apache.org/jira/browse/CAMEL-21089 Project: Camel Issue Type: Improvement Components: camel-core Reporter: James Netherton Assignee: James Netherton Fix For: 4.8.0 Relates to an issue reported in Camel Quarkus where a user was trying to configure a byte component option for SMPP. https://github.com/apache/camel-quarkus/issues/6350 Seems that CamelBaseBulkConverterLoader does not have a condition to match the conversion type on primitive byte.class. https://github.com/apache/camel/blob/e5ab1649bdb5c5a9c332af2c5b201c143f611539/core/camel-base/src/generated/java/org/apache/camel/converter/CamelBaseBulkConverterLoader.java#L202-L216 Indeed the Maven mojo that generates the bulk converter does not handle byte as a primitive option. https://github.com/apache/camel/blob/e5ab1649bdb5c5a9c332af2c5b201c143f611539/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/TypeConverterLoaderGeneratorMojo.java#L220-L240 -- This message was sent by Atlassian Jira (v8.20.10#820010)