DataManager cannot load entities

i have my own RabbitListener in my application. Before sending data to mq, i create and save some entities in datamanager and take id of those entities to process them in my mq. But when i load entities by those ids that came to my mq, datamanager returns an empty set. How can i deal with this problem?

Maybe the transaction that DataManager uses when saving entities is not committed yet when you read the entities back?