juliuskrah opened a new issue, #3857:
URL: https://github.com/apache/camel-quarkus/issues/3857
Camel Quarkus: `2.9.2.Final`
Quarkus: `2.9.2.Final`
JDK: `17`
Extension: `camel-quarkus-jackson`
When quarkus is built in native mode, the Service Locator for `Camel
TypeConverterLoader` is not loaded. Below is my `application.properties`
```properties
quarkus.log.min-level=TRACE
quarkus.log.category."org.apache.camel.impl.converter.CoreTypeConverterRegistry".level=TRACE
# Register
org.apache.camel.component.jackson.converter.JacksonTypeConvertersLoader
quarkus.native.auto-service-loader-registration=true
quarkus.native.additional-build-args=-H:ReflectionConfigurationFiles=reflection-config.json
```
The class `JacksonTypeConverters` is also registered for reflection in
`src/main/resources/reflection-config.json`
```json
[
{
"name":
"org.apache.camel.component.jackson.converter.JacksonTypeConverters",
"allDeclaredConstructors": true,
"allPublicConstructors": true,
"allDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredFields": true,
"allPublicFields": true
}
]
```
The service registration of
`camel-jackson-3.16.0.jar/META-INF/services/org/apache/camel/TypeConverterLoader`
is not happening
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]