Github user ShellyLC commented on a diff in the pull request:
https://github.com/apache/nifi/pull/1548#discussion_r104083798
--- Diff:
nifi-nar-bundles/nifi-jms-bundle/nifi-jms-cf-service/src/main/java/org/apache/nifi/jms/cf/JMSConnectionFactoryProvider.java
---
@@ -178,7 +178,7 @@ private void
setConnectionFactoryProperties(ConfigurationContext context) {
} else {
if (propertyName.equals(BROKER)) {
if
(context.getProperty(CONNECTION_FACTORY_IMPL).evaluateAttributeExpressions().getValue().startsWith("org.apache.activemq"))
{
- this.setProperty("brokerURL", entry.getValue());
+ this.setProperty("brokerURL",
context.getProperty(descriptor).evaluateAttributeExpressions().getValue());
--- End diff --
Thank you for your comments. I'll address the ELSE and account for the
possibility of null.
---
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.
---