mercredi 31 juillet 2019

How to return Mono

I have an application which have controller , service and repository. Using Reactive pattern for redis cache . I am deleting key from redis cache , its return type is Mono . How to implement in code> I am calling method of service class for which controller and service is having return type Mono . Data is getting reflected in Service but null value is getting pass to controller. Please suggest

Mono GetcacheAync(String key)

Aucun commentaire:

Enregistrer un commentaire