Halfway down the page under "Configuring the URI to call" the example is
given:

from("direct:start")
  .setHeader(Exchange.HTTP_URI, constant("http://newhost";))
  .to("http4://oldhost");

Under it states:

"*Where Constants is the class,
org.apache.camel.component.http4.Constants."*

Is this correct as the header accepts String and usually constant() is
pretty well used elsewhere?

Thanks,

James

Reply via email to