Hi Raymond, thank you for response.
We use apache camel since version 2 with spring-boot and docker. Now we are using apache camel 3.7 in aks (k8s) from azure The Challenge: When i call cosmosdb with mongoapi at azure: @Configration public static final String MONGODB_FIND_BY_ID = MONGODB_BASE + "&collection=" + COLLECTION_COVER_PRODUCT_IN + "&operation=" + MongoDbOperation.findById; @DSL from(QUEUE_PRODUCT_IN).routeId("splitProduct") .setProperty(IMPORTED_PRODUCT_ID).body() .log(INFO, "Received Product to split with ID '${exchangeProperty." + IMPORTED_PRODUCT_ID + "}'") .log(DEBUG, "Received body: ${body}") .log(INFO, "${body}") .to(MONGODB_FIND_BY_ID) .... It raised an exeception that $where is not supported from cosmosdb Is there an example (github?)how to use the new component for azure cosmos. best regards Tobias ________________________________ Von: ski n <raymondmees...@gmail.com> Gesendet: Dienstag, 23. November 2021 18:49 An: users@camel.apache.org <users@camel.apache.org> Betreff: Re: Azure Cosmo with MongoAPI migration Hi Tobias, To get better response I advise to tell a bit more about the setup, the challenges and the goals you are facing and where it relates to Camel. I think Cosmos provide a compatibility API for MongoDB mapping Containers (Collections at MongoDB) and Items (Documents at MongboDB) with each other. Since version Camel 3.10 there is also a specific Cosmos DB component ( https://deu01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcamel.apache.org%2Fcomponents%2Fnext%2Fazure-cosmosdb-component.html&data=04%7C01%7Ctle%40covernet.de%7C7c173839f4304a55fc6408d9aea99d4b%7C208430bc6bc34416b38372f0236b7581%7C0%7C0%7C637732865774483097%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=tOhjLo2nwMz%2FQva%2FZn0nn1cDkf%2FlS5%2BqrBNeoARX1D4%3D&reserved=0). Raymond Op di 23 nov. 2021 om 16:12 schreef Tobias Letschka <t...@covernet.de>: > Hi all, > > we use apache camel in ms azure + microservices (Version 3.7, AKS, k8s)and > have legacy code. > > In legacy code (docker-compose) we used mongoDB. > > What could the best way to migrate to cosmodb with mongoAPI > > best regards > > Tobias >