我正在尝试从文件系统中获取 JSON 文件,并尝试将文件插入 MarkLogic 数据库。
<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>
用户名和密码为:admin/admin 用于在 8005 上运行的 MarkLogic REST 实例