Hi,

I'm using the http4 component (camel-http4) and I recently found a problem.
Let me explain:

I need to configure an endpoint with differents ssl configs each time. To do
that, I have read in the camel docs that I can use different
SSLContextParameters if I setup multiple HTTP4 components. For example, I
have 2 components, each using their own instance of sslContextParameters
property like this:

<bean id="http4-foo" class="org.apache.camel.component.http4.HttpComponent">
   <property name="sslContextParameters" ref="sslContextParams1"/>
</bean>
 
<bean id="http4-bar" class="org.apache.camel.component.http4.HttpComponent">
   <property name="sslContextParameters" ref="sslContextParams2"/>
</bean>

The thing is: how can I make clear to the endpoint which component should it
use? I mean, where should I write the name "http4-foo or http4-bar" to know
for sure the config I should to use for each hhtp invocation?

Thanks in advance.

Guillermo.

Additional info:
Using camel version 2.11.2



--
View this message in context: 
http://camel.465427.n5.nabble.com/Using-different-SSLContextParameters-with-HTTP4-component-tp5740430.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to