docs: @SuppressWarnings("unchecked")
      protected MessageListener createCaseEventReceiver() {
          try {
              Class<MessageListener> caseEventReceiverClass = (Class<MessageListener>) Class.forName("org.jbpm.casemgmt.impl.jms.AsyncCaseInstanceAuditEventReceiver");
              
              return caseEventReceiverClass.getConstructor(EntityManagerFactory.class).newInstance(entityManagerFactory);
          } catch (Exception e) {
              logger.debug("No message listener found for case instance event receiver", e);
              
              return null;
          }
      }