squakez commented on issue #2534:
URL: https://github.com/apache/camel-k/issues/2534#issuecomment-896120145
I've run the following route with version 1.5:
```
from("timer:java?period=10000")
.setBody()
.constant("{\"hello\":\"world\"}")
.to("log:info")
.to("atlasmap:file:/tmp/atlas.adm")
.to("log:info");
```
I've provided the configuration file expected by the route via `--resource`:
```
kamel run AtlasMap.java --dev --resource
file:atlasmap-mapping.adm@/tmp/atlas.adm
```
It's working as expected. Can you please attach the whole log to
troubleshoot better the problem? Also, in order to confirm that the
configuration file is correctly uploaded into the expected location, you can
check by listing it via:
```
kubectl exec --stdin --tty atlas-map-f4454498d-cbd5m -- ls -larth
/tmp/atlas.adm
```
where `atlas-map-f4454498d-cbd5m` is the name of the running pod.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]