camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Slide <richard.sl...@gmail.com>
Subject Add some HTTP header to HttpProduce
Date Wed, 28 Jul 2010 13:49:25 GMT
Hello all,
I need to add the following header to my http request:

"myaddress"
"from"
"to"
"transaction-set"


and change the http protocol version from http 1.1 to http .1.0


My route builder looks like this

  from(senderUri).setHeader(Exchange.HTTP_METHOD,
constant(org.apache.camel.component.http.HttpMethods.POST)).to(
            receiverUri);



where senderUri is file end point receiver is http end point


thanks for help


--Richard

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message