Interface LoadBalancer

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addProcessor​(org.apache.camel.AsyncProcessor processor)
      Adds a new processor to the load balancer
      List<org.apache.camel.AsyncProcessor> getProcessors()
      Returns the current processors available to this load balancer
      void removeProcessor​(org.apache.camel.AsyncProcessor processor)
      Removes the given processor from the load balancer
      • Methods inherited from interface org.apache.camel.AsyncProcessor

        process, processAsync
      • Methods inherited from interface org.apache.camel.Processor

        process
    • Method Detail

      • addProcessor

        void addProcessor​(org.apache.camel.AsyncProcessor processor)
        Adds a new processor to the load balancer
        Parameters:
        processor - the processor to be added to the load balancer
      • removeProcessor

        void removeProcessor​(org.apache.camel.AsyncProcessor processor)
        Removes the given processor from the load balancer
        Parameters:
        processor - the processor to be removed from the load balancer
      • getProcessors

        List<org.apache.camel.AsyncProcessor> getProcessors()
        Returns the current processors available to this load balancer
        Returns:
        the processors available