Skip to content


Subversion checkout URL

You can clone with
Download ZIP
CMIS connector for Apache Camel
Fetching latest commit...
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Camel CMIS Component

Enables Apache Camel to connect to CMIS supporting content repositories

Example usage:

1.Query cmis server using CMIS Query Language

    .body("SELECT * FROM cmis:document WHERE cmis:name LIKE 'test%'")

To query CMIS server, create a producer by specifying query=true in the parameters and put the cmis query in the body of the message.
The result of the query is in the body of the message as a List, where each item is Map containing all the properties of the node.
Additionally it is also able to retrieve InputStream for the content itself if specified in the header as CamelCMISRetrieveContent true.

2. Create Folders and Documents on the CMIS server.

    .process(new Processor() {
        public void process(Exchange exchange) throws Exception {
            exchange.getOut().setHeader("cmis:objectTypeId", "cmis:folder");
            exchange.getOut().setHeader("cmis:name", "Test Folder");

Creates a CMIS document which content is message body and properties from headers. For document with content, mimetype or content type is required header.
Creates folder if there is no message body or folder type is specified.
Name header is required for both document and folder creation.
Optional path header can specify in which location at create the new node. If not specified, the new node is created under the root folder.
Something went wrong with that request. Please try again.