I have changed my ActiveMq.xml file in Fuse ESB: <transportConnectors> <transportConnector name="tcp" uri="tcp://0.0.0.0:61616"/> <transportConnector name="http" uri="http://localhost:8277?trace=true"/> <transportConnector name="https" uri="https://localhost:8289?trace=true"/> </transportConnectors>
<sslContext> <sslContext keyStore="file:${data}/conf/mybroker.ts" keyStorePassword="password" trustStore="file:${data}/conf/mybroker.ts" trustStorePassword="password"/> </sslContext> My camel route configuration is: <bean id="jmsConnectionFactory" class="org.apache.activemq.ActiveMQSslConnectionFactory"> <property name="brokerURL" value="https://localhost:8289"/> <property name="trustStore" value="/conf/mybroker.ts"/> <property name="trustStorePassword" value="password"/> </bean> <bean id="jmsConfig" class="org.apache.camel.component.jms.JmsConfiguration"> <property name="connectionFactory" ref="jmsConnectionFactory"/> </bean> <bean id="activemqSource" class="org.apache.activemq.camel.component.ActiveMQComponent"> <property name="configuration" ref="jmsConfig"/> <property name="clientId" value="1"/> <property name="durableSubscriptionName" value="sp11"/> <property name="acknowledgementModeName" value="AUTO_ACKNOWLEDGE" /> </bean> I have generated the certificate using: Preparing certificates 1. Producer keytool -genkey -alias prod -keyalg RSA -keystore prod.ks CN=prod, OU=esb, O=all, L=London, ST=Unknown, C=UK 2. Consumer keytool -genkey -alias con -keyalg RSA -keystore con.ks CN= con, OU=esb, O=all, L=London, ST=Unknown, C=UK Creating a truststore $ keytool -export -alias prod -keystore prod.ks -file prod_cert $ keytool -export -alias con -keystore cons.ks -file con_cert $ keytool -import -alias prod -keystore mybroker.ts -file prod_cert $ keytool -import -alias -keystore mybroker.ts -file con_cert I am not getting any error and my route is not starting? tsp is working fine -------------------------------->88<------------------------------ org.apache.activemq.ActiveMQSslConnectionFactory is definitly expecting ssl not https, so this is definitly not correct configuration. The problem is that I am not able to find how to configure ActiveMQ in Camel with https protocol?! -- View this message in context: http://camel.465427.n5.nabble.com/Camel-route-ActiveMQ-from-http-to-Https-tp5727932.html Sent from the Camel - Users mailing list archive at Nabble.com.