# Running AtlasMap with Apache Camel

Note | The latest version of `camel-atlasmap` component is now maintained in Apache Camel upstream https://camel.apache.org/components/latest/atlasmap-component.html We will keep maintaining Camel2 version of `camel-atlasmap` component in this repository for a while, however for Camel3 you need to go with the one from Apache Camel upstream.

Note | Camel Quarkus extension for AtlasMap is available here https://camel.apache.org/camel-quarkus/latest/reference/extensions/atlasmap.html

Developers who are familiar with Apache Camel can implement a Camel application that uses the `camel-atlasmap` component. A `camel-atlasmap` endpoint

- Can consume an AtlasMap `.adm` file

- Uses the content of `body` as the default source document for mappings

For example:

    from("direct:start")
       .to("atlas:atlas-mapping.adm")
       .log("${body}")

If `body` contains a `java.util.Map` object, then `camel-atlasmap` uses `key` as a document ID and the corresponding value as the document payload.

You can obtain the `camel-atlasmap` component here: https://repo1.maven.org/maven2/io/atlasmap/camel-atlasmap/${VERSION}/camel-atlasmap-${VERSION}.jar