Interface ConnectionFilter


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

    Modifier and Type
    Method
    Description
    boolean
    connectTo(URI location)
    Connect the filter to a given location.
  • Method Details

    • 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.