Hi
This is actually not a Camel thing, but a configuration issue of your AMQ
connection. You have to configure an ActiveMQSslConnectionFactory (see below)
and change the Broker-URL to ssl://broker:port instead of tcp://broker:port.
If you do 2-Way-SSL you need to provide Keystore-Properties, if it is 1-Way-SSL
the trust-store should be enough.
<bean id="jmsConnectionFactory"
class="org.apache.activemq.ActiveMQSslConnectionFactory">
<property name="keyStore" value="yourKeystoreLocation"/>
<property name="keyStorePassword" value="yourKeystorePassword"/>
<property name="keyStoreKeyPassword" value="yourKeyPassword"/>
<property name="trustStore" value="yourTruststoreLocation"/>
<property name="trustStorePassword" value="yourTruststorePassword"/>
<property name="brokerURL" value="ssl://broker-host:port"/>
... other properties
</bean>
The Camel-Endpoint is (no matter if SSL or not) "activemq:queue:yourQueueName"
Regards
Stephan
-----Ursprüngliche Nachricht-----
Von: mtod09 [mailto:[email protected]]
Gesendet: Donnerstag, 18. Mai 2017 15:51
An: [email protected]
Betreff: Camel ActiveMQ JMS Calls using SSL
I'm trying to setup a Camel route to a Secured ActiveMQ server over SSL + JMS.
I have setup connections using other technologies can this be done with Camel?
If so is there an example available?
Thanks
Mike
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-ActiveMQ-JMS-Calls-using-SSL-tp5799791.html
Sent from the Camel - Users mailing list archive at Nabble.com.