camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From madhu_online1 <>
Subject Re: Issues invoking external URL with Http Basic Auth
Date Mon, 30 Jun 2014 16:37:45 GMT
I am wondering how that will take care of my authentication issue. So here is
my new code snippet:-

String docUID = "${in.body.documentID}";
			.log(LoggingLevel.INFO, this.getClass().getCanonicalName(), "*** Starting
document count retrieve for ${in.body.documentID} **" + "docUID:" + docUID)
			.setHeader("docUID", simple(docUID)) 			
			.setHeader(Exchange.HTTP_METHOD, constant("GET"))

+ "&authMethod=Basic&authUsername=" + username + "&authPassword=" + password
+ "&httpClient.authenticationPreemptive=true"))

I am wondering how this will solve my authentication issue? I also tried
using .recipientList().transform(transformer) but I am getting the request
in the transformer. Not sure how to fix this?

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message