Este contenido no está disponible en el idioma seleccionado.
Chapter 37. JAXB
Unmarshal XML payloads to POJOs and back using JAXB2 XML marshalling standard.
37.1. What’s inside Copiar enlaceEnlace copiado en el portapapeles!
Please refer to the above link for usage and configuration details.
37.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-jaxb</artifactId> </dependency>
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-jaxb</artifactId>
</dependency>
37.3. Usage Copiar enlaceEnlace copiado en el portapapeles!
37.3.1. Native mode ObjectFactory instantiation of non-JAXB annotated classes Copiar enlaceEnlace copiado en el portapapeles!
When performing JAXB marshal operations with a custom ObjectFactory
to instantiate POJO classes that do not have JAXB annotations, you must register those POJO classes for reflection in order for them to be instantiated in native mode. E.g via the @RegisterForReflection
annotation or configuration property quarkus.camel.native.reflection.include-patterns
.
Refer to the Native mode user guide for more information.