Tony Poppleton wrote:
Hi Christine,

I am just looking for the simplest solution.  Using one http client and one 
connection manager would be nice, although not necessary if that is 
overcomplicated.

Thanks,
Tony



'http.route.local-address' parameter is your friend.

http://hc.apache.org/httpcomponents-client/tutorial/html/connmgmt.html#d4e473

Oleg


Message du 15/12/09 14:30
De : "Christine Karman" A : "HttpClient User Discussion" Copie à : Objet : Re: Using multiple IP addresses


Tony Poppleton wrote:
Hi,

I have two IP addresses on my computer, and would like to send out requests on 
both using a single Java application and HttpClient. Is this possible? I.e. one 
request sent out from the first IP, and the next request sent out from the 
second IP.

Do you want one instance of HttpClient to do so, and one connectionManager?

dagdag
Christine
Thanks,
Tony


--
dagdag is just a two-character rotation of byebye.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

---------------------------------------------------------------------------------------
Orange vous informe que cet e-mail a ete controle par l'anti-virus mail. Aucun virus connu a ce jour par nos services n'a ete detecte.






---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to