I can;t modify the wsdl to configure http client since its external service
and i am calling that service.
I also tried using camel-jetty and camel-http which have proxyHost,proxyPort
proerpties set but they return me 503 http error code even though the target
service is up and running.

Configuration with camel-http:

<camel:route id="event-notify-route">
                
                        <camel:from uri="seda:eventNotifyRequestQueue" />       
        
                        <camel:to 
uri="bean:eventManagerUtils?method=setInHeaderProperties"/>
                        <camel:to 
uri="xslt://transformation/notify-event-request.xsl"/>
                        <camel:log message="Event notify request: 
${body}"></camel:log>
                        <camel:setHeader headerName="CamelHttpMethod">
                          <camel:constant>POST</camel:constant>
                        </camel:setHeader>
                        <camel:recipientList>
                        
<camel:simple>http://10.1.107.71:8080?proxyHost=bhuxegpx.corp.dmz&amp;proxyPort=8080</camel:simple>
                        </camel:recipientList>
                        <camel:log message="Event notify response: 
${body}"></camel:log>
                        <camel:to uri="seda:eventNotifyResponseProcessingQueue" 
/>
                                                                                
        
                </camel:route>



--
View this message in context: 
http://camel.465427.n5.nabble.com/How-to-configure-proxy-settings-for-cxf-endpoint-used-in-recipientList-tp5758947p5758975.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to