rsocket-broker / rsocket-broker-client

Apache License 2.0
33 stars 8 forks source link

Why connect broker after receiving a ApplicationReadyEvent #2

Closed fireflies-xlt closed 4 years ago

fireflies-xlt commented 4 years ago

Pushing ApplicationReadyEvent is very late after spirng context invoked refresh method, in our scenarios, we need to fetch some resource by rsocket, and then init spring bean. Is there a better way to achieve it?

spencergibb commented 4 years ago

I no longer believe this is the case since RoutingRSocketRequester (or just plain RSocketRequester) is created during auto configuration now that RSocketClient is supported in RSocket java 1.1 and spring framework.