CMIS Connector in Mule | Apache Chemistry with Mule
CMIS Connector is used to connect a CMIS with Mule.Here we are connecting mule with apache chemistry(open source CMIS).
flow of CMIS connector :
CMIS connector configuration :
There are many operations available, i have chosen Repository info.
connector configuration :
URL : http://localhost:8085/api/cmis
Method : GET
Logger Output :
XML project code :
<?xml version="1.0" encoding="UTF-8"?> <mule xmlns:http="http://www.mulesoft.org/schema/mule/http" xmlns:cmis="http://www.mulesoft.org/schema/mule/cmis" xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:doc="http://www.mulesoft.org/schema/mule/documentation" xmlns:spring="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-current.xsd http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd http://www.mulesoft.org/schema/mule/cmis http://www.mulesoft.org/schema/mule/cmis/current/mule-cmis.xsd http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/current/mule-http.xsd"> <http:listener-config name="HTTP_Listener_Configuration" host="0.0.0.0" port="8085" basePath="/api" doc:name="HTTP Listener Configuration"/> <cmis:config name="CMIS__Configuration" baseUrl="http://localhost:8070/chemistry-opencmis-server-inmemory-1.1.0/atom11" username="admin" password="admin" repositoryId="A1" doc:name="CMIS: Configuration"/> <flow name="test_cmisFlow"> <http:listener config-ref="HTTP_Listener_Configuration" path="/cmis" doc:name="HTTP"/> <cmis:repository-info config-ref="CMIS__Configuration" doc:name="CMIS"/> <object-to-string-transformer doc:name="Object to String"/> <logger message="#[payload]" level="INFO" doc:name="Logger"/> </flow> </mule>