Red Hat Training

A Red Hat training course is available for Red Hat Fuse

Chapter 263. Ribbon Component

Available as of Camel version 2.18

The ribbon component provides use of Netflix Ribbon for client side load balancing.

Maven users will need to add the following dependency to their pom.xml for this component:

    <!-- use the same version as your Camel core version -->

This component helps applying load balancing feature at the client side when using ServiceCall EIP.

263.1. Configuration

  • Programmatic

    RibbonConfiguration configuration = new RibbonConfiguration();
    configuration.addProperties("ServerListRefreshInterval", "250");
    RibbonLoadBalancer loadBalancer = new RibbonLoadBalancer(configuration);
  • Spring Boot[ServerListRefreshInterval] = 250



  • XML

        <from uri="direct:start"/>
        <serviceCall name="myService">
            <!-- enable ribbon load balancer -->
                <properties key="ServerListRefreshInterval" value="250"/>

263.2. See Also