Man, that was a GREAT talk! Thank you so much guys!
@ziggizaggazulu5498 Жыл бұрын
Great talk, thank you for that! I am trying to learn Spring Cloud Gateway, and I somehow dont understand why AsycPredicate is there for. I am trying to read the body and decide upon what is in the body, if the route fits or not. When overriding the AbstractPredicateFactory and designing my CustomePredicateFactory, I will have to use the handle function, that Returns an AsyncPredicate, because accessing the Body from the ServerWebExchange, automatically shifts you in a Reactive non Blocking world. And you will be kept there. So my problem is: I can see that the actual handle function is getting executed, but I dont know what to do with the result. It is not working when I assign it to my routes. Anyone an Idea what am doing wrong.