title: Triggering an Activiti BPMN process from a Spring Integration EIP message flow
body: <p>I am looking at Activiti BPMN processes and how they would best interface with Spring Integration EIP message flows. Specifically, I would like to know what is the cleanest or best way to trigger an activiti BPMN process to execute at the end of a Spring Integration message flow.</p>
  
  <p>e.g. Should I trigger a message start event for the BPMN process from a final service-activator method in my EIP flow? </p>
  
  <pre><code>runtimeService.startProcessInstanceByMessage(messageName, processVariables);
  </code></pre>
  
  <p>e.g. Should I trigger a none start event for the BPMN process from a final service-activator method in my EIP flow?</p>
  
  <pre><code>runtimeService.startProcessInstanceById(processDefinitionId, variables);
  </code></pre>
  
  <p>e.g. Any other more appropriate interfacing methods?</p>
  
  <p>Thanks in advance,
  PM.</p>