code: public static AbstractAuditLogger newJMSInstance(boolean transacted, ConnectionFactory connFactory, Queue queue) {
          AsyncAuditLogProducer logger = new AsyncAuditLogProducer();
          logger.setTransacted(transacted);
          logger.setConnectionFactory(connFactory);
          logger.setQueue(queue);
          
          return logger;
      }
docs: Creates new instance of JMS audit logger based on given connection factory and queue.
  NOTE: this will build the logger but it is not registered directly on a session: once received,
  it will need to be registered as an event listener
  @param transacted determines if JMS session is transacted or not
  @param connFactory connection factory instance
  @param queue JMS queue instance
  @return new instance of JMS audit logger