anchor.diff:  jmsProps.put("jbpm.audit.jms.transacted", true);
   jmsProps.put("jbpm.audit.jms.connection.factory", factory);
   jmsProps.put("jbpm.audit.jms.queue", queue);
  -AbstractAuditLogger auditLogger = AuditLoggerFactory.newInstance(Type.JMS, session, jmsProps);
  +AbstractAuditLogger auditLogger = AuditLoggerFactory.newInstance(Type.JMS, ksession, jmsProps);
   ksession.addProcessEventListener(auditLogger);
   
   // invoke methods one your session here
  
positive.code: }
  ----
  
  By default (indexer that takes the `toString()`) will prodce single audit entry for single 
  variable, so it's one to one relationship. But that's not the only option: indexers (as can be 
  seen in the interface) returns list of objects that are the outcome of single variable indexation.
  
  
negative.code: 
  [source,java]
  ----
  KieSession ksession = ...;
  AbstractAuditLogger auditLogger = AuditLoggerFactory.newInstance(Type.JPA, ksession, null);
  ksession.addProcessEventListener(auditLogger);
  
  // invoke methods one your session here
  