camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bob_sheknowdas <>
Subject Load Balancing Fluent Builders vs Spring
Date Mon, 16 Jan 2017 20:17:49 GMT

im trying to set up a load balancer using Apache Camel.

Everything works fine, if I use the spring configuration:

    <route id="route2">
      <from uri="servlet:///api2/data/?matchOnUriPrefix=true"/>
		<failover roundRobin="true" maximumFailoverAttempts="3"/>

But if I try to use the RouteBuilder class i get Errors:

false, true)

The Error is an Http 500, so not really specific.
Has anyone an Idea, why that is?

Possible workaround:
I wanted to use the RouteBuilder class since I want to read in possible
target servers from a properties file. If anyone knows a way to do that via
spring I would be most happy to learn from you : )

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message