I am trying to pick up a json file from the file system and trying to insert the file into the marklogic database.
<route id="file_upload">
<from uri="file:/E:/camel/input"/>
<to uri="http://localhost:8005/v1/documents?uri/patents/test.json"/>
</route>
Username and password: admin / admin for an instance of the marklogic instance running on 8005
source
share