Hi

Yes that was wrong, I am removing that wrong statement

On Thu, Feb 19, 2015 at 11:52 AM, James Green <james.mk.gr...@gmail.com> wrote:
> 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



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to