Well, I took a stab in the dark and tried something I read about a while ago. 
I read that properties could be set on the command line when starting Java. 
So I edited the servicemix.bat file I found in the bin directrory and
changed the following line: 

set DEFAULT_JAVA_OPTS=-server -Xmx512M
-Dderby.system.home="%SERVICEMIX_HOME%\var"
-Dderby.storage.fileSyncTransactionLog=true -Dcom.sun.management.jmxremote
-Dhttp.proxyHost=(my proxy host) -Dhttp.proxyPort=(my proxy port)

When I fired up the rss-binding example this time, it worked great!  Problem
solved.  





Steven wrote:
> 
> Is there a way to specify a proxy server to use for the request in the
> rss-binding example? 
> 
> I am behind a proxy server. My browser is configured to use this proxy
> server and works just fine.  I've coded in Java using the httpclient
> package and specified a proxy and that works too. I'm extremely new to
> servicemix and not even sure where to look for the answers yet.  Seems
> like it should be easy enough, but....
> 
> Thanks!
> 
> 

-- 
View this message in context: 
http://www.nabble.com/rss-binding-example---specify-a-proxy-server-to-go-thru-tf2268189.html#a6306238
Sent from the ServiceMix - User forum at Nabble.com.

Reply via email to