Hi Christian,

I've used this workaround (i.e. paramaterizing the protocol to either 'http' or 
'https') before and it worked fine for me too. Haven't looked at the underlying 
code, but it I imagine it works as you suggest. 

Best,
Ade


----- Original Message -----
From: Christian Mueller [mailto:christian.muel...@gmail.com]
Sent: Monday, February 28, 2011 01:57 PM
To: users@camel.apache.org <users@camel.apache.org>
Subject: Re: Using a camel-cxf producer and want switch between http and https 
without new deployments

Thank you for your quick reply Willem, but I think I didn't catch it.
Extracting the http:conduit configuration doesn't make it easier to decide
at runtime whether or not the http:conduit should be applied or not.

However, we made a test using the HTTP protocoll instead of HTTPS and it
works (including the http:conduit configuration). Did you expect this
behavior or is it not reliable? Maybe CXF checks which protocol is used
before the http:conduit is applied/executed?

Christian

-- 
View this message in context: 
http://camel.465427.n5.nabble.com/Using-a-camel-cxf-producer-and-want-switch-between-http-and-https-without-new-deployments-tp3403048p3403793.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to