Once following change is part of quarkus (quarkusio/quarkus#15380), usage of serialization configuration should be revisited and replaced with buildItems.
Currently there are 2 extensions using it: nitrite and sql.
Consider making automatic registration of basic types and of DefaultExchangeHolder with its hierarchy.
(Here is a branch with a try of such refactor without buildItems - https://github.com/JiriOndrusek/camel-quarkus/tree/sql-aggregator-core-changes-not-wanted)