Richard Slide wrote:
Hello all,
I need to add the following header to my http request:

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

You can put these header into the message header and HttpProducer will take care of them.

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

I don't think we can change the http protocol version as camel doesn't provide a way to set it.
Please feel free to log a JIRA for it.


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


Willem
----------------------------------
Apache Camel, Apache CXF committer
Open Source Integration http://www.fusesource.com
Blog http://willemjiang.blogspot.com
Tiwtter http://twitter.com/willemjiang

Reply via email to