orpiske commented on code in PR #11225:
URL: https://github.com/apache/camel/pull/11225#discussion_r1309932092


##########
components/camel-vertx/camel-vertx-common/src/generated/java/org/apache/camel/component/vertx/common/CamelVertxCommonBulkConverterLoader.java:
##########
@@ -165,6 +167,41 @@ private Object doConvertTo(Class<?> from, Class<?> to, 
Exchange exchange, Object
         return null;
     }
 
+    private void doRegistration(TypeConverterRegistry registry) {
+        registry.addConverter(new 
TypeConvertible<>(io.vertx.core.buffer.Buffer.class, byte[].class), this);
+        registry.addConverter(new 
TypeConvertible<>(io.vertx.core.json.JsonArray.class, byte[].class), this);
+        registry.addConverter(new 
TypeConvertible<>(io.vertx.core.json.JsonObject.class, byte[].class), this);
+        registry.addConverter(new TypeConvertible<>(byte[].class, 
io.vertx.core.buffer.Buffer.class), this);
+        registry.addConverter(new 
TypeConvertible<>(io.netty.buffer.ByteBuf.class, 
io.vertx.core.buffer.Buffer.class), this);
+        registry.addConverter(new 
TypeConvertible<>(io.vertx.core.json.JsonArray.class, 
io.vertx.core.buffer.Buffer.class), this);
+        registry.addConverter(new 
TypeConvertible<>(io.vertx.core.json.JsonObject.class, 
io.vertx.core.buffer.Buffer.class), this);
+        registry.addConverter(new TypeConvertible<>(java.io.InputStream.class, 
io.vertx.core.buffer.Buffer.class), this);
+        registry.addConverter(new TypeConvertible<>(java.lang.String.class, 
io.vertx.core.buffer.Buffer.class), this);
+        registry.addConverter(new TypeConvertible<>(byte[].class, 
io.vertx.core.json.JsonArray.class), this);
+        registry.addConverter(new 
TypeConvertible<>(io.netty.buffer.ByteBuf.class, 
io.vertx.core.json.JsonArray.class), this);
+        registry.addConverter(new 
TypeConvertible<>(io.vertx.core.buffer.Buffer.class, 
io.vertx.core.json.JsonArray.class), this);
+        registry.addConverter(new TypeConvertible<>(java.io.InputStream.class, 
io.vertx.core.json.JsonArray.class), this);
+        registry.addConverter(new TypeConvertible<>(java.lang.String.class, 
io.vertx.core.json.JsonArray.class), this);
+        registry.addConverter(new TypeConvertible<>(java.util.List.class, 
io.vertx.core.json.JsonArray.class), this);
+        registry.addConverter(new TypeConvertible<>(byte[].class, 
io.vertx.core.json.JsonObject.class), this);
+        registry.addConverter(new 
TypeConvertible<>(io.netty.buffer.ByteBuf.class, 
io.vertx.core.json.JsonObject.class), this);
+        registry.addConverter(new 
TypeConvertible<>(io.vertx.core.buffer.Buffer.class, 
io.vertx.core.json.JsonObject.class), this);
+        registry.addConverter(new TypeConvertible<>(java.io.InputStream.class, 
io.vertx.core.json.JsonObject.class), this);
+        registry.addConverter(new TypeConvertible<>(java.lang.String.class, 
io.vertx.core.json.JsonObject.class), this);
+        registry.addConverter(new TypeConvertible<>(java.util.Map.class, 
io.vertx.core.json.JsonObject.class), this);
+        registry.addConverter(new 
TypeConvertible<>(io.vertx.core.buffer.Buffer.class, 
java.io.InputStream.class), this);
+        registry.addConverter(new 
TypeConvertible<>(io.vertx.core.json.JsonArray.class, 
java.io.InputStream.class), this);
+        registry.addConverter(new 
TypeConvertible<>(io.vertx.core.json.JsonObject.class, 
java.io.InputStream.class), this);
+        registry.addConverter(new 
TypeConvertible<>(io.vertx.core.buffer.Buffer.class, java.lang.String.class), 
this);
+        registry.addConverter(new 
TypeConvertible<>(io.vertx.core.json.JsonArray.class, java.lang.String.class), 
this);
+        registry.addConverter(new 
TypeConvertible<>(io.vertx.core.json.JsonObject.class, java.lang.String.class), 
this);
+        registry.addConverter(new 
TypeConvertible<>(io.vertx.core.json.JsonArray.class, java.util.List.class), 
this);
+        registry.addConverter(new 
TypeConvertible<>(io.vertx.core.json.JsonObject.class, java.util.Map.class), 
this);
+        registry.addConverter(new 
TypeConvertible<>(io.vertx.core.buffer.Buffer.class, 
org.apache.camel.StreamCache.class), this);
+        
+        
+    }
+
     public TypeConverter lookup(Class<?> to, Class<?> from) {

Review Comment:
   Saving this for the subsequent patch. 



-- 
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: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to