I am trying out to pick up a JSON file from filesystem and am trying to insert the file to MarkLogic database.
<route id="file_upload">
<!-- incoming requests from the file is routed -->
<from uri="file:/E:/camel/input"/>
<to uri="http://localhost:8005/v1/documents?uri/patents/test.json"/>
</route>
Username and password is : admin/admin for MarkLogic REST instance running on 8005