Class StaticServiceCallServiceDiscoveryConfiguration

  • All Implemented Interfaces:
    org.apache.camel.cloud.ServiceDiscoveryFactory, org.apache.camel.cloud.ServiceFactory<org.apache.camel.cloud.ServiceDiscovery>

    @Metadata(label="routing,cloud,service-discovery")
    @Configurer(extended=true)
    public class StaticServiceCallServiceDiscoveryConfiguration
    extends ServiceCallServiceDiscoveryConfiguration
    • Constructor Detail

      • StaticServiceCallServiceDiscoveryConfiguration

        public StaticServiceCallServiceDiscoveryConfiguration()
      • StaticServiceCallServiceDiscoveryConfiguration

        public StaticServiceCallServiceDiscoveryConfiguration​(ServiceCallDefinition parent)
    • Method Detail

      • setServers

        public void setServers​(List<String> servers)
        Sets the server list. Each entry can be a list of servers separated by comma in the format: [service@]host:port,[service@]host2:port,[service@]host3:port
        Parameters:
        servers - a list of servers.
      • servers

        public StaticServiceCallServiceDiscoveryConfiguration servers​(List<String> servers)
        Sets the server list. Each entry can be a list of servers separated by comma in the format: [service@]host:port,[service@]host2:port,[service@]host3:port
        Parameters:
        servers - a list of servers.
        Returns:
        this instance
      • servers

        public StaticServiceCallServiceDiscoveryConfiguration servers​(String servers)
        Sets the server list.
        Parameters:
        servers - a list of servers separated by comma in the format: [service@]host:port,[service@]host2:port,[service@]host3:port
        Returns:
        this instance