class AsyncCaseInstanceAuditEventProducer implements CaseEventListener, Cacheable {

    @Override
    public void afterCaseRoleAssignmentAdded(CaseRoleAssignmentEvent event) {
                
        CaseRoleAssignmentLog assignmentLog = new CaseRoleAssignmentLog(-1L, event.getCaseId(), event.getRole(), event.getEntity());
        sendMessage(AFTER_CASE_ROLE_ASSIGNMENT_ADDED_EVENT_TYPE, new AuditCaseInstanceData(event.getCaseId(), null, Collections.singletonList(assignmentLog)), 4);

    }

    public  AsyncCaseInstanceAuditEventProducer();

}