@ Programmatic public List < PublishedEvent > findProcessed ( ) { return repositoryService . allMatches ( new QueryDefault <> ( PublishedEvent . class , "findByStateOrderByTimestamp" , "state" , PublishedEvent . State . PROCESSED ) ) ; }
region > findProcessed