use of org.apache.camel.quarkus.core.deployment.spi.CamelSerializationBuildItem in project camel-quarkus by apache.
the class CamelSerializationProcessor method produceSerializationBuildItem.
@BuildStep
void produceSerializationBuildItem(CamelConfig config, BuildProducer<CamelSerializationBuildItem> serializationBuildItems) {
final CamelConfig.ReflectionConfig reflectionConfig = config.native_.reflection;
if (reflectionConfig.serializationEnabled) {
LOGGER.debug("Registration of basic types for serialization is enabled via quarkus.camel.native.reflection.serialization-enabled");
serializationBuildItems.produce(new CamelSerializationBuildItem());
}
}
Aggregations