If you don't want to explicitly set javax.net.ssl in Java command line, you
can set it in applicationContext file in the fashion of Spring.
<bean id="trustStore"
class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
<property name="targetObject" value="#{@systemProperties}" />
<property name="targetMethod" value="putAll" />
<property name="arguments">
<props>
<prop key="javax.net.ssl.trustStore">/path/trusted.jks</prop>
</props>
</property>
</bean>
@see spring forum
<http://forum.springsource.org/showthread.php?82926-Explicitly-setting-javax-net-ssl-system-properties>
--
View this message in context:
http://camel.465427.n5.nabble.com/LDAP-connection-via-SSL-tp5723224p5723310.html
Sent from the Camel - Users mailing list archive at Nabble.com.