Hi Thanks for report back with your findings and solution.
I have added a section to the camel http component about this. On Mon, Jul 6, 2009 at 1:42 PM, SwenVogel<[email protected]> wrote: > > Hi, > > im using Camel 2.0-M2 Release version and hava found the solution. > Authentication works fine with the username and password URI options, > but the problem was that the server doesent send a: > > 401 Authorization Required > > So the solution was to set the following URI option: > > httpClient.authenticationPreemptive=true > > -- > View this message in context: > http://www.nabble.com/http-component-with-authentication-tp24290117p24353979.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus
