I found the solution. it works for me, if you have better way, feel free to
share
private String proxy(String url) throws IOException {
CredentialsProvider provider = new BasicCredentialsProvider();
UsernamePasswordCredentials credentials = new
UsernamePasswordCredentials("USERNAME", "PASSWOR
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?wsdl&bridgeEndpoint=true&throwExceptionOnFailure=false"/>
Ps:
Of couse using browser I am able to o
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:
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, constant(HttpMe
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:
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 KeyManagersPar
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: anc
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
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] -
https://github.com/apac
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 camel
10 matches
Mail list logo