Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Message headers evaluated by the producer

Div
classconfluenceTableSmall

Header

Default Value

Description

CamelCMISFolderPath

/

The current folder to use during the execution. If not specified will use the root folder

CamelCMISRetrieveContent

false

In queryMode this header will force the producer to retrieve the content of document nodes.

CamelCMISReadSize

0

Max number of nodes to read.

cmis:path

null

If CamelCMISFolderPath is not set, will try to find out the path of the node from this cmis property and it is name

cmis:name

null

If CamelCMISFolderPath is not set, will try to find out the path of the node from this cmis property and it is path

cmis:objectTypeId

null

The type of the node

cmis:contentStreamMimeType

null

The mimetype to set for a document

Wiki Markup
{div:class=confluenceTableSmall} || Header || Default Value || Description || | {{CamelCMISFolderPath}} | {{/}} | The current folder to use during the execution. If not specified will use the root folder | | {{CamelCMISRetrieveContent}} | {{false}} | In {{queryMode}} this header will force the producer to retrieve the content of document nodes. | | {{CamelCMISReadSize}} | {{0}} | Max number of nodes to read.| | {{cmis:path}} | {{null}} | If {{CamelCMISFolderPath}} is not set, will try to find out the path of the node from this cmis property and it is name| | {{cmis:name}} | {{null}} | If {{CamelCMISFolderPath}} is not set, will try to find out the path of the node from this cmis property and it is path| | {{cmis:objectTypeId}} | {{null}} | The type of the node | | {{cmis:contentStreamMimeType}} | {{null}} | The mimetype to set for a document | {div}

Message headers set during querying Producer operation

Div
classconfluenceTableSmall

Header

Type

Description

CamelCMISResultCount

Integer

Number of nodes returned from the query.

Wiki Markup
{div:class=confluenceTableSmall} || Header || Type || Description || | {{CamelCMISResultCount}} | {{Integer}} | Number of nodes returned from the query. | {div}

The message body will contain a list of maps, where each entry in the map is cmis property and its value.
If CamelCMISRetrieveContent header is set to true, one additional entry in the map with key CamelCMISContent will contain InputStream of the document type of nodes.

...

Maven users will need to add the following dependency to their pom.xml.

Code Block
xml
xml
titlepom.xmlxml
<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-cmis</artifactId>
    <version>${camel-version}</version>
</dependency>

...