You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by lekkie <le...@gmail.com> on 2010/03/12 17:43:27 UTC
How to set proxy server on servicemix
Hi Guys,
Does Servicemix allow one to configure a proxy server address (to connect to
internet)?
If yes, how can this be achieved?
regards.
--
View this message in context: http://old.nabble.com/How-to-set-proxy-server-on-servicemix-tp27879783p27879783.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: How to set proxy server on servicemix
Posted by Willem Jiang <wi...@gmail.com>.
Current camel context doesn't provides a way to set the system properties.
You can set the system properties by using -D option when you start the
JVM, and if you are using ServiceMix, you can change the file in
${SERVICEMIX_HOME}/system.properties.
Willem
lekkie wrote:
> Thanks.
>
> Is there a way one can set system properties (e.g. http.proxyHost) from a
> camel context?
>
>
>
> willem.jiang wrote:
>> Just saw from the Fuse forums, you are using the cxf:cxfEndpoint.
>>
>> Yeah, this should work for you, as cxf use the sun's HTTP URI
>> implementation to connect the back end service.
>>
>> Willem
>>
>> Stephen Gargan wrote:
>>> You would just set up the JVM to use the proxy.
>>>
>>> http://java.sun.com/javase/6/docs/technotes/guides/net/proxies.html
>>>
>>> ste
>>>
>>> On Fri, Mar 12, 2010 at 8:43 AM, lekkie <le...@gmail.com> wrote:
>>>> Hi Guys,
>>>>
>>>> Does Servicemix allow one to configure a proxy server address (to
>>>> connect to
>>>> internet)?
>>>>
>>>> If yes, how can this be achieved?
>>>>
>>>> regards.
>>>> --
>>>> View this message in context:
>>>> http://old.nabble.com/How-to-set-proxy-server-on-servicemix-tp27879783p27879783.html
>>>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>>>
>>>>
>>
>>
>
Re: How to set proxy server on servicemix
Posted by lekkie <le...@gmail.com>.
Thanks.
Is there a way one can set system properties (e.g. http.proxyHost) from a
camel context?
willem.jiang wrote:
>
> Just saw from the Fuse forums, you are using the cxf:cxfEndpoint.
>
> Yeah, this should work for you, as cxf use the sun's HTTP URI
> implementation to connect the back end service.
>
> Willem
>
> Stephen Gargan wrote:
>> You would just set up the JVM to use the proxy.
>>
>> http://java.sun.com/javase/6/docs/technotes/guides/net/proxies.html
>>
>> ste
>>
>> On Fri, Mar 12, 2010 at 8:43 AM, lekkie <le...@gmail.com> wrote:
>>> Hi Guys,
>>>
>>> Does Servicemix allow one to configure a proxy server address (to
>>> connect to
>>> internet)?
>>>
>>> If yes, how can this be achieved?
>>>
>>> regards.
>>> --
>>> View this message in context:
>>> http://old.nabble.com/How-to-set-proxy-server-on-servicemix-tp27879783p27879783.html
>>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>>
>>>
>>
>
>
>
--
View this message in context: http://old.nabble.com/How-to-set-proxy-server-on-servicemix-tp27879783p27887405.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: How to set proxy server on servicemix
Posted by Willem Jiang <wi...@gmail.com>.
Just saw from the Fuse forums, you are using the cxf:cxfEndpoint.
Yeah, this should work for you, as cxf use the sun's HTTP URI
implementation to connect the back end service.
Willem
Stephen Gargan wrote:
> You would just set up the JVM to use the proxy.
>
> http://java.sun.com/javase/6/docs/technotes/guides/net/proxies.html
>
> ste
>
> On Fri, Mar 12, 2010 at 8:43 AM, lekkie <le...@gmail.com> wrote:
>> Hi Guys,
>>
>> Does Servicemix allow one to configure a proxy server address (to connect to
>> internet)?
>>
>> If yes, how can this be achieved?
>>
>> regards.
>> --
>> View this message in context: http://old.nabble.com/How-to-set-proxy-server-on-servicemix-tp27879783p27879783.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>>
>
Re: How to set proxy server on servicemix
Posted by Stephen Gargan <st...@gmail.com>.
You would just set up the JVM to use the proxy.
http://java.sun.com/javase/6/docs/technotes/guides/net/proxies.html
ste
On Fri, Mar 12, 2010 at 8:43 AM, lekkie <le...@gmail.com> wrote:
>
> Hi Guys,
>
> Does Servicemix allow one to configure a proxy server address (to connect to
> internet)?
>
> If yes, how can this be achieved?
>
> regards.
> --
> View this message in context: http://old.nabble.com/How-to-set-proxy-server-on-servicemix-tp27879783p27879783.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>