using camel as proxy to download wsdl file from remote webservice

2019-03-29 Thread Wang Yan
I used below code as proxy to download wsdl file from remote webservice, but it does not work. only get html back instead of wsdl file http://realserverhostname:8090/webservice?wsdlbridgeEndpoint=truethrowExceptionOnFailure=false"/> Ps: Of couse using browser I am able to

Re: HTTP4s handshake exception

2019-03-29 Thread Andrea Cosentino
You need to use the # for the parameter like this:   .to("https4://:/MutualAuthentication/MutuallySecuredServlet?sslContextParameters=#sslContextParameters"); -- Andrea Cosentino  -- Apache Camel PMC Chair Apache Karaf Committer Apache Servicemix PMC Member Email:

Re: HTTP4s handshake exception

2019-03-29 Thread Rohan Emmanuel
The full route is as follows RouteBuilder routeBuilder = new RouteBuilder() { @Override public void configure() throws Exception { from("netty4:tcp://127.0.0.1:9992?allowDefaultCodec=false") .setHeader(Exchange.HTTP_METHOD,

Re: HTTP4s handshake exception

2019-03-29 Thread Andrea Cosentino
Can you show the full route? -- Andrea Cosentino  -- Apache Camel PMC Chair Apache Karaf Committer Apache Servicemix PMC Member Email: ancosen1...@yahoo.com Twitter: @oscerd2 Github: oscerd On Friday, March 29, 2019, 1:02:08 PM GMT+1, Rohan Emmanuel wrote:

Re: HTTP4s handshake exception

2019-03-29 Thread Rohan Emmanuel
Thanks for the response Andrea, i do have set the sslContextParameters as follows, do you see anything wrong with it? ksp.setResource("C:\\gateway\\conf\\server.keystore"); ksp.setType("pkcs12"); ksp.setPassword("changeit"); KeyManagersParameters kmp = new

Re: HTTP4s handshake exception

2019-03-29 Thread Andrea Cosentino
You need to set the sslContextParameters on your uri. https://github.com/apache/camel/blob/master/components/camel-http4/src/main/docs/http4-component.adoc -- Andrea Cosentino  -- Apache Camel PMC Chair Apache Karaf Committer Apache Servicemix PMC Member Email:

HTTP4s handshake exception

2019-03-29 Thread Rohan Emmanuel
hi , I am trying to establish HTTPS connection to webserver in a route( running as standalone java application). but i am getting handshake exception can you please point me in the right direction? any http4s sample which i can use? below is the stack trace. 1.)I imported the client key store in

Re: camel-rabitmq - clientProperties - enable host name verification

2019-03-29 Thread Ricardo Zanini
Hi! There’s a property “clientProperties” in the rabbitmq component endpoint: “Connection client properties (client info used in negotiating with the server)” I think that it does what you’re looking for. If not you could try creating a custom ConnectionFactory. [1] -

camel-rabitmq - clientProperties - enable host name verification

2019-03-29 Thread S M Humayun
Hi there, Can someone please help me find any example or help on how can I provide 'clientProperties' white creating a route from:rabbitmq//? I want to enable host name verification on client side to connect to my rabbitmq server. Is there any related example or help on how to do this using