private String getType(IVersionedApimanEvent apimanEvent) {
        String currentValue = apimanEvent.getHeaders().getType();
        if (StringUtils.isEmpty(currentValue)) {
            return apimanEvent.getClass().getCanonicalName();
        } else {
            return currentValue;
        }
    }
Use value set in headers or canonical class name
manager/api/jpa/src/main/java/io/apiman/manager/api/jpa/model/outbox/TransactionalOutboxService.java