You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by olegz <gi...@git.apache.org> on 2016/04/04 17:00:58 UTC

[GitHub] nifi pull request: NIFI-1521 Allows use of SSL in AMQP Processor

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?



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---