Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

smpp: no type converter available for byte properties #6350

Closed
phibo22 opened this issue Aug 14, 2024 · 5 comments
Closed

smpp: no type converter available for byte properties #6350

phibo22 opened this issue Aug 14, 2024 · 5 comments
Assignees
Labels
area/smpp bug Something isn't working
Milestone

Comments

@phibo22
Copy link

phibo22 commented Aug 14, 2024

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

@phibo22 phibo22 added the bug Something isn't working label Aug 14, 2024
@jamesnetherton jamesnetherton changed the title No type converter available for byte properties smpp: no type converter available for byte properties Aug 14, 2024
@jamesnetherton jamesnetherton self-assigned this Aug 15, 2024
@zhfeng
Copy link
Contributor

zhfeng commented Aug 15, 2024

It's more likely an issue in camel?

@jamesnetherton
Copy link
Contributor

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
Copy link
Contributor

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

@davsclaus
Copy link
Contributor

Can you backport to 4.4.x branch

@jamesnetherton
Copy link
Contributor

Fixed in #6439.

@jamesnetherton jamesnetherton added this to the 3.15.0 milestone Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/smpp bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants