Hi there
I could successfully create a QueueConnectionFactory with jms:create and could
successfully connect to the Websphere MQ server running remotely. The
jms:create creates the following blueprint:
<bean id="wmqConnectionFactory"
class="com.ibm.mq.jms.MQQueueConnectionFactory">
<property name="transportType" value="1" />
<property name="hostName" value="localhost" />
<property name="port" value="19420" />
<property name="queueManager" value="AAQ1DM4" />
<property name="channel" value="AAQ1DM4.CLIENT.WAS1" />
</bean>
I'm trying now to connect securely to Websphere MQ broker but I'm struggeling
because the class com.ibm.mq.jms.MQQueueConnectionFactory provides the option
to set an SSLSocketFactory only.
https://www-01.ibm.com/support/knowledgecenter/SSFKSJ_7.5.0/com.ibm.mq.javadoc.doc/WMQJMSClasses/com/ibm/mq/jms/MQConnectionFactory.html
Initially I started creating an SSLSocketFactory with Blueprint bean definition
but it's hacky, IMHO.
I like to define this kind of configurations outside of the camel routes I
deploy into Karaf but need your advise what the best approach might be. Maybe
we can extend the jms commands to support SSL as well - also for ActiveMQ.
Thanks
Oli