Closed flyinprogrammer closed 5 years ago
this ensures that our Proteus builder wires up our DefaultProteusBrokerService with our the addressSelector we customize it with. Otherwise the other constructor, and thus BrokerAddressSelectors.TCP_ADDRESS, is used: https://github.com/netifi-proteus/proteus-java/blob/adaa7615c19a41b4c601cc0ca7e91a0c8af4bde5/proteus-client/src/main/java/io/netifi/proteus/DefaultProteusBrokerService.java#L116
DefaultProteusBrokerService
addressSelector
BrokerAddressSelectors.TCP_ADDRESS,
this ensures that our Proteus builder wires up our
DefaultProteusBrokerService
with our theaddressSelector
we customize it with. Otherwise the other constructor, and thusBrokerAddressSelectors.TCP_ADDRESS,
is used: https://github.com/netifi-proteus/proteus-java/blob/adaa7615c19a41b4c601cc0ca7e91a0c8af4bde5/proteus-client/src/main/java/io/netifi/proteus/DefaultProteusBrokerService.java#L116