Hello,
I would like your advise on an issue I have been facing while ingesting
data through Java API wrapper in ML 6.0.
When Ingesting data through Java API into a MarkLogic database the
Pipelines connected to that database are not triggered. But when
Below are further details and the API code.
I have custom pipeline which convets meta data to xml elements and is
attached to this domain. When I am ingesting data into database through
App builder flow or Bulk load the documents are creating ie as is document
and a xhtml. But when inserting through Java API only the document is
getting created
I am ingesting through JAVA API into HTTP Port(8010) created on the
Database. No XDBC server involved.
DatabaseClient client = DatabaseClientFactory.newClient("localhost", 8010,
"rest-writer", "x", Authentication.DIGEST);
FileInputStream docStream = new
FileInputStream("/home/482251/Desktop/Test/Resume/482251_Resume.doc");
XMLDocumentManager docMgr = client.newXMLDocumentManager();
// create a handle on the content
InputStreamHandle handle = new InputStreamHandle(docStream);
// write the document content
docMgr.write("/home/482251/Testt/resume.doc", handle);
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general