title: camel-cmis Filenet Storing metadata and Document
body: <p>Below is my metadata Document class and property definition I created.</p>
  
  <p>DocClassDisplayName - ClassSymbolicName</p>
  
  <p><strong>CustomMeta  -  doc_CustomMeta</strong></p>
  
  <p>PropDisplayname - PropSymbolicName - Datatype</p>
  
  <pre><code>SINo - prp_SINo - String(64)
  VersionNo - prp_VersionNo - String(64)
  User - prp_User - String(64)
  Agency - prp_Agency - String(64)
  </code></pre>
  
  <p>Below is my camel route to store document</p>
  
  <pre><code>from("activemq:queue:STORE_DOCUMENT_QUEUE")
  .process(new Processor() {
      public void process(Exchange exchange) throws Exception {
          exchange.getIn().getHeaders().put(PropertyIds.CONTENT_STREAM_MIME_TYPE, "application/pdf; charset=UTF-8");
          exchange.getIn().getHeaders().put(PropertyIds.NAME, exchange.getIn().getHeader(Exchange.FILE_NAME));
          exchange.getIn().getHeaders().put(CamelCMISConstants.CMIS_FOLDER_PATH, "/TEST");
      }
  })
  .to("cmis://${header.cmisUrl}");
  </code></pre>
  
  <p>I'm stuck with setting above metadata to camel exchange in order to store metadata along with storing document. </p>
  
  <p>I tried setting one metadata to camel exchange like the example below but it didn't work.</p>
  
  <pre><code>exchange.getIn().getHeaders().put("cmis:xyz_SINo,"001");
  exchange.getIn().getHeaders().put("cmis:xyz_VersionNo,"0001");
  exchange.getIn().getHeaders().put("cmis:xyz_User,"TestUser");
  exchange.getIn().getHeaders().put("cmis:xyz_Agency,"TestAgency");
  </code></pre>
  
  <p>Can anybody show me a way using camel-cmis in order to achieve what I need?</p>