Interface ConnectionFilter


  • public interface ConnectionFilter
    Abstraction that allows you to control which brokers a NetworkConnector connects bridges to.
    • Method Detail

      • connectTo

        boolean connectTo​(URI location)
        Connect the filter to a given location.
        Parameters:
        location -
        Returns:
        true if the network connector should establish a connection to the specified location.