netifi-proteus / proteus-java

Proteus Java Client
https://www.netifi.com
Apache License 2.0
43 stars 3 forks source link

remove uncessary address; plumb addressSelector through DefaultProteusBrokerService #39

Closed flyinprogrammer closed 5 years ago

flyinprogrammer commented 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