Merge pull request #278 from asutosh936/AMQ-6905

AMQ-6905 : Upgraded ActivationConfigProperty as per API Documentation
This commit is contained in:
Jean-Baptiste Onofré 2019-11-18 17:48:34 +01:00 committed by GitHub
commit f5b1800b0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ public class ActiveMQResourceAdapter extends ActiveMQConnectionSupport implement
}
String userName = defaultValue(activationSpec.getUserName(), getInfo().getUserName());
String password = defaultValue(activationSpec.getPassword(), getInfo().getPassword());
String clientId = activationSpec.getClientId();
String clientId = defaultValue(activationSpec.getClientId(), getInfo().getClientid());
if (clientId != null) {
cf.setClientID(clientId);
} else {