Skip to content

[FLUME-3468] fix default value of passwordFile property when userName is set for jms source - #405

Open
nikita15p wants to merge 1 commit into
apache:trunkfrom
nikita15p:fix-FLUME_3468
Open

[FLUME-3468] fix default value of passwordFile property when userName is set for jms source#405
nikita15p wants to merge 1 commit into
apache:trunkfrom
nikita15p:fix-FLUME_3468

Conversation

@nikita15p

Copy link
Copy Markdown
Contributor

In jms source, when passwordFile property in agent config is not set, currently null value is getting passed which causes exception due to password = Optional.absent(); in https://github.com/apache/flume/blob/trunk/flume-ng-sources/flume-jms-source/src/main/java/org/apache/flume/source/jms/JMSSource.java#L173.

This PR, sets default value to empty string in case passwordFile property is not set.

@nikita15p

Copy link
Copy Markdown
Contributor Author

@rgoers can u please review this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant