apache / camel-quarkus

Apache Camel Quarkus
https://camel.apache.org
Apache License 2.0
256 stars 190 forks source link

smpp: no type converter available for byte properties #6350

Closed phibo22 closed 1 month ago

phibo22 commented 2 months ago

Bug description

Property binding for byte properties does throw org.apache.camel.NoTypeConversionAvailableException: No type converter available to convert from type: java.lang.String to the required type: byte

How to reproduce:

  1. Create a new project with camel-quarkus-smpp extension:

quarkus create app org.acme:getting-started \ --extension='rest,camel-quarkus-smpp'

  1. Add property camel.component.smpp.data-coding=0 to application.properties

  2. Try to start the application using quarkus dev

zhfeng commented 2 months ago

It's more likely an issue in camel?

jamesnetherton commented 2 months ago

It's more likely an issue in camel?

Yes, it's because CamelBaseBulkConverterLoader cannot deal with the primitive byte. I have it fixed locally.

jamesnetherton commented 2 months ago

https://issues.apache.org/jira/browse/CAMEL-21089

davsclaus commented 2 months ago

Can you backport to 4.4.x branch

jamesnetherton commented 1 month ago

Fixed in https://github.com/apache/camel-quarkus/pull/6439.