bthj commented on issue #2684: URL: https://github.com/apache/camel-k/issues/2684#issuecomment-939080245
I should add that this works fine: ``` public class MongoDBTest extends RouteBuilder { @Override public void configure() throws Exception { com.mongodb.client.MongoClient mongoClient = com.mongodb.client.MongoClients.create("...connection string..."); String firstCollectionName = mongoClient.getDatabase("[myDb]").listCollectionNames().first(); System.out.println("----------firstCollectionName:"+firstCollectionName); ``` - deployed in the same way as a Camel-K integration it correctly prints: ``` ----------firstCollectionName:myFirstCollection ``` -- 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: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org