I have a mono content out of this i need to get the data to variable.
private String name;
var result = Mono.just("surendra")
.subscribe(x -> name=x);
LOG.info("Hello " + name);
Tried the above code to get the value but it is showing as null.
Can you please help me the way i can get the content from Mono with non blocking way Thanks in Advance:)