AtlasMap

JVM since1.5.0 Native since1.7.0

Transforms the message using an AtlasMap transformation.

What’s inside

Please refer to the above link for usage and configuration details.

Maven coordinates

Or add the coordinates to your existing project:

<dependency>
    <groupId>org.apache.camel.quarkus</groupId>
    <artifactId>camel-quarkus-atlasmap</artifactId>
</dependency>

Check the User guide for more information about writing Camel Quarkus applications.

allowContextMapAll option in native mode

The allowContextMapAll option is not supported in native mode as it requires reflective access to security sensitive camel core classes such as CamelContext & Exchange. This is considered a security risk and thus access to the feature is not provided by default.

Additional Camel Quarkus configuration

Note that you can perform mapping for these types of data:

  • Java

  • XML

  • Json

  • CSV

The ADM archive file or mapping definition JSON file used in the AtlasMap route should be located in the resources repository. In native mode, include this file for native build. Example:

quarkus.native.resources.includes = mapping/atlas-mapping.json

When mapping Java documents, you may need to register the corresponding Java classes for reflection.

You may want to check the integration test in our source tree as an example.