title: No activity events when using the Java API
body: <p>I'm using actviti with an implementation of <code>ActivitiEventListener</code>, which handles events such as <code>ACTIVTI_COMPLETED</code>/<code>TASK_CREATED</code> etc.</p>
  
  <p>When communicating with process instances, I can see that the aforementioned events are fired (in <code>ACT_EVT_LOG</code> table), but when I do so via the Java API, no events are fired (e.g. when sending a message that a boundary event catches).</p>
  
  <p>Below is a code snippet:</p>
  
  <pre><code>public static void main(String[] args) {
      readProperties();
      processEngine = buildProcessEngine();
      processEngine.getRuntimeService()
              .addEventListener(new ActivitiEventHandler("localhost", "61616"));
      new MessageSender(processEngine).sendMessage(args);
  }
  </code></pre>
  
  <p>What am I missing here?</p>