Este contenido no está disponible en el idioma seleccionado.
Chapter 77. Vert.x HTTP Client
Camel HTTP client support with Vert.x
77.1. What’s inside Copiar enlaceEnlace copiado en el portapapeles!
-
Vert.x HTTP Client component, URI syntax:
vertx-http:httpUri
Please refer to the above link for usage and configuration details.
77.2. Maven coordinates Copiar enlaceEnlace copiado en el portapapeles!
Create a new project with this extension on code.quarkus.redhat.com
Or add the coordinates to your existing project:
<dependency> <groupId>org.apache.camel.quarkus</groupId> <artifactId>camel-quarkus-vertx-http</artifactId> </dependency>
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-vertx-http</artifactId>
</dependency>
77.3. transferException option in native mode Copiar enlaceEnlace copiado en el portapapeles!
To use the transferException
option in native mode, you must enable support for object serialization. Refer to the native mode user guide for more information.
You will also need to enable serialization for the exception classes that you intend to serialize. For example.
@RegisterForReflection(targets = { IllegalStateException.class, MyCustomException.class }, serialization = true)
@RegisterForReflection(targets = { IllegalStateException.class, MyCustomException.class }, serialization = true)
77.4. Additional Camel Quarkus configuration Copiar enlaceEnlace copiado en el portapapeles!
77.5. allowJavaSerializedObject option in native mode Copiar enlaceEnlace copiado en el portapapeles!
When using the allowJavaSerializedObject
option in native mode, the support of serialization might need to be enabled. Please, refer to the native mode user guide for more information.
77.5.1. Character encodings Copiar enlaceEnlace copiado en el portapapeles!
Check the Character encodings section of the Native mode guide if the application is expected to send and receive requests using non-default encodings.