class AsyncCaseInstanceAuditEventProducer implements CaseEventListener, Cacheable {

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

    public  AsyncCaseInstanceAuditEventProducer();

}