Class RSocketServiceMatcher
java.lang.Object
org.springframework.cloud.bus.rsocket.RSocketServiceMatcher
- All Implemented Interfaces:
ServiceMatcher
A pass thru patcher that allows the RSocket Routing broker to determine which instances
to send to.
-
Constructor Summary
ConstructorsConstructorDescriptionRSocketServiceMatcher(String busId, io.rsocket.routing.client.spring.RoutingClientProperties properties) -
Method Summary
Modifier and TypeMethodDescriptiongetBusId()booleanisForSelf(RemoteApplicationEvent event) booleanisFromSelf(RemoteApplicationEvent event)
-
Constructor Details
-
RSocketServiceMatcher
public RSocketServiceMatcher(String busId, io.rsocket.routing.client.spring.RoutingClientProperties properties)
-
-
Method Details
-
isFromSelf
- Specified by:
isFromSelfin interfaceServiceMatcher
-
isForSelf
- Specified by:
isForSelfin interfaceServiceMatcher
-
getBusId
- Specified by:
getBusIdin interfaceServiceMatcher
-