You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Aleksey Masny <pr...@gmail.com> on 2010/01/16 11:48:45 UTC

Re: camel-xmpp througth proxy

I understand problem. 

Jabber protocol used direct socket connection. To available connection
througth "proxy", must be define java properties "socksproxySet",
"socksProxyPort", "socksProxyHost". For example, direct in source

    	//System.setProperty("socksproxySet","true");
        //System.setProperty("socksProxyPort","1080");
        //System.setProperty("socksProxyHost","127.0.0.1");

More HTTP proxy servers not support socks connection. More info at
http://java.sun.com/j2se/1.5.0/docs/guide/net/proxies.html section 2.4.
-- 
View this message in context: http://old.nabble.com/camel-xmpp-througth-proxy-tp26897637p27188291.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: camel-xmpp througth proxy

Posted by Willem Jiang <wi...@gmail.com>.
You may need to set this system properties before start up the camel 
context. Please free feel to share you solution in the camel-xmpp wiki[1].

[1] http://camel.apache.org/xmpp.html

Willem

Aleksey Masny wrote:
> I understand problem. 
> 
> Jabber protocol used direct socket connection. To available connection
> througth "proxy", must be define java properties "socksproxySet",
> "socksProxyPort", "socksProxyHost". For example, direct in source
> 
>     	//System.setProperty("socksproxySet","true");
>         //System.setProperty("socksProxyPort","1080");
>         //System.setProperty("socksProxyHost","127.0.0.1");
> 
> More HTTP proxy servers not support socks connection. More info at
> http://java.sun.com/j2se/1.5.0/docs/guide/net/proxies.html section 2.4.