camel-k does not run in version 1.2: NoTypeConversionAvailableException
I am not able to run your example with camel-k 1.2
[2] 2021-01-15 08:49:04,350 INFO [fo3] (vert.x-eventloop-thread-1) Exchange[Id: EB212E2B1E69FF2-0000000000000000, ExchangePattern: InOnly, Properties: {CamelToEndpoint=log://fo3?showAll=true}, Headers: {Accept=text/plain, CamelHttpMethod=POST, CamelHttpPath=/add, CamelHttpQuery=null, CamelHttpRawQuery=null, CamelHttpUri=/add, CamelHttpUrl=http://routes-camelk.apps.ocp4.openshift.freeddns.org/add, Content-Length=77, Content-Type=application/json, Forwarded=for=192.168.50.1;host=routes-camelk.apps.ocp4.openshift.freeddns.org;proto=http, Host=routes-camelk.apps.ocp4.openshift.freeddns.org, User-Agent=curl/7.61.1, X-Forwarded-For=192.168.50.1, X-Forwarded-Host=routes-camelk.apps.ocp4.openshift.freeddns.org, X-Forwarded-Port=80, X-Forwarded-Proto=http}, BodyType: com.google.gson.internal.LinkedTreeMap, Body: {docName=camel-k-document, docContent=from Camel K secret content}]
[2] 2021-01-15 08:49:04,394 INFO [add] (vert.x-eventloop-thread-1) got request Camel K camel-k-document
[2] 2021-01-15 08:49:04,397 WARN [org.apa.cam.imp.eng.DefaultReactiveExecutor] (vert.x-eventloop-thread-1) Error executing reactive work due to org.apache.camel.NoTypeConversionAvailableException: No type converter available to convert from type: com.google.gson.internal.LinkedTreeMap to the required type: java.nio.ByteBuffer with value {docName=camel-k-document, docContent=from Camel K secret content}. This exception is ignored.: java.lang.RuntimeException: org.apache.camel.NoTypeConversionAvailableException: No type converter available to convert from type: com.google.gson.internal.LinkedTreeMap to the required type: java.nio.ByteBuffer with value {docName=camel-k-document, docContent=from Camel K secret content}
I tried it with json-jackson and json-gson without any success!