Github user pvillard31 commented on the pull request:
https://github.com/apache/nifi/pull/232#issuecomment-185326467
Yes, you're right... I didn't know about this feature. I will change the
processor to use the SSL Context as suggested.
@olegz Regarding unit testing, I am not sure to picture what you want to
achieve with a unit test. We could mock up the ConnectionFactory as well but
for what purpose? I had a look at the [RabbitMQ unit tests regarding
SSL](https://github.com/rabbitmq/rabbitmq-java-client/tree/master/src/test/java/com/rabbitmq/client/test/ssl)
part and it seems to be relying on specific set-up/tools.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---