[ 
https://issues.apache.org/jira/browse/CAMEL-15900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-15900.
---------------------------------
    Resolution: Fixed

using a google library now that creates a http client on start

> GeoCoderNominatimProducer should not create a new HttpClient on processing 
> each exchange
> ----------------------------------------------------------------------------------------
>
>                 Key: CAMEL-15900
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15900
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-geocoder
>            Reporter: James Netherton
>            Priority: Minor
>             Fix For: 3.x
>
>
> GeoCoderNominatimProducer can invoke 3rd party location apis via the 
> serverUrl option. To do this, it creates an Apache HttpClient. However, the 
> client is created on every invocation of process(), which is not very 
> efficient. It should be possible to set up the client once, and reuse it.
> Also none of the endpoint options for configuring a proxy server are passed 
> to the HttpClient. It would be good if they were.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to