You didn't paste any of your code....

In any case, here's what I'm doing and it works:

from("direct:readSFTPConfig").routeId("sftp.config")
 .setHeader(Exchange.HTTP_URI, simple("http://
{{ds.host}}:{{ds.port}}/web/rest/client"))
 .setHeader(Exchange.HTTP_QUERY, simple("clientId=${in.header.clientId}"))
 .setHeader(Exchange.HTTP_METHOD, constant("GET"))
  .enrich("http://ignored-set-by-header?throwExceptionOnFailure=false";)
[...]

On Fri, May 3, 2013 at 9:35 AM, Al Ferguson <[email protected]> wrote:

> Hi,
>
> It seems I cannot enrich, what am I doing wrong?
>
> Why is the originalExchange is null?
>
>
> Thanks,
> Al. F
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/CamelHttpUri-and-Enricher-tp5731924p5731975.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to