[
https://issues.apache.org/jira/browse/NIFI-1521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15224297#comment-15224297
]
ASF GitHub Bot commented on NIFI-1521:
--------------------------------------
Github user olegz commented on a diff in the pull request:
https://github.com/apache/nifi/pull/232#discussion_r58389967
--- Diff:
nifi-nar-bundles/nifi-amqp-bundle/nifi-amqp-processors/src/main/java/org/apache/nifi/amqp/processors/AbstractAMQPProcessor.java
---
@@ -191,6 +201,14 @@ private Connection createConnection(ProcessContext
context) {
if (vHost != null) {
cf.setVirtualHost(vHost);
}
+ // handles TLS/SSL aspects
+ final SSLContextService sslService =
context.getProperty(SSL_CONTEXT_SERVICE).asControllerService(SSLContextService.class);
+ final SSLContext sslContext = sslService == null ? null :
sslService.createSSLContext();
--- End diff --
Pierre
I was working on merging it but realized that the above no longer compiles.
Could you take a look and update?
> Allow SSL with AMQP processors
> ------------------------------
>
> Key: NIFI-1521
> URL: https://issues.apache.org/jira/browse/NIFI-1521
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Affects Versions: 0.5.0
> Reporter: Pierre Villard
> Assignee: Pierre Villard
> Priority: Trivial
> Labels: beginner
>
> AMQP processor shall allow the creation of connections using SSL protocol
> (not necessarily with presenting and validating certificates)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)