[
https://issues.apache.org/jira/browse/NIFI-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15194066#comment-15194066
]
ASF GitHub Bot commented on NIFI-614:
-------------------------------------
Github user mosermw commented on the pull request:
https://github.com/apache/nifi/pull/222#issuecomment-196508227
Tested using Tibco with SSL, didn't work.
ERROR o.a.n.jms.processors.PublishJMS
org.springframework.jms.JmsSecurityException: Can not initialize SSL client: no
trusted certificates are set; nested exception is
javax.jms.JMSSecurityException: Can not initialize SSL client: no trusted
certificates are set
at
org.springframework.jms.support.JmsUtils.convertJmsAccessException(JmsUtils.java:291)
at
org.springframework.jms.support.JmsAccessor.convertJmsAccessException(JmsAccessor.java:169)
at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:497)
at org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:580)
...
at
org.apache.nifi.jms.processors.JMSPublisher.publish(JMSPublisher.java:75)
Caused by: javax.jms.JMSSecurityException: Can not initialize SSL client:
no trusted certificates are set
at com.tibco.tibjms.TibjmsLinkSSL._initSSL
at com.tibco.tibjms.TibjmsLinkSSL.connect
at com.tibco.tibjms.TibjmsConnection._create
at com.tibco.tibjms.TibjmsConnection.<init>
at com.tibco.tibjms.TibjmsxCFImpl._createImpl
at com.tibco.tibjms.TibjmsxCFImpl._createConnection
at com.tibco.tibjms.TibjmsConnectionFactory.createConnection
at
org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter.doCreateConnection
...
at org.springframework.jms.support.JmsAccessor.createConnection
at org.springframework.jms.core.JmsTemplate.execute
I'm not sure how to pass the keystores from the SSL Context Service
property of JMSConnectionFactoryProvider into the instance of the MQ
ConnectionFactory Implementation using the configuration options provided.
> Create a JMS ConnectionFactory controller service and refactor JMS processors
> to use it
> ---------------------------------------------------------------------------------------
>
> Key: NIFI-614
> URL: https://issues.apache.org/jira/browse/NIFI-614
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Affects Versions: 0.1.0
> Reporter: Michael Moser
> Assignee: Oleg Zhurakousky
> Labels: JMS
> Fix For: 0.6.0
>
>
> It is difficult to extend the standard JMS processors to use a different JMS
> provider besides the included ActiveMQ. Improve the process of adding
> support for other JMS providers.
> Create a JMS ConnectionFactoryService API in nifi-standard-services. Create
> an ActiveMQConnectionFactoryService with the ActiveMQ implementation in
> nifi-standard-services. Modify the JMS processors in
> nifi-standard-processors to use a ConnectionFactoryService to pick the JMS
> Provider to use.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)