mirror of https://github.com/apache/activemq.git
Merge pull request #278 from asutosh936/AMQ-6905
AMQ-6905 : Upgraded ActivationConfigProperty as per API Documentation
This commit is contained in:
commit
f5b1800b0e
|
@ -134,7 +134,7 @@ public class ActiveMQResourceAdapter extends ActiveMQConnectionSupport implement
|
||||||
}
|
}
|
||||||
String userName = defaultValue(activationSpec.getUserName(), getInfo().getUserName());
|
String userName = defaultValue(activationSpec.getUserName(), getInfo().getUserName());
|
||||||
String password = defaultValue(activationSpec.getPassword(), getInfo().getPassword());
|
String password = defaultValue(activationSpec.getPassword(), getInfo().getPassword());
|
||||||
String clientId = activationSpec.getClientId();
|
String clientId = defaultValue(activationSpec.getClientId(), getInfo().getClientid());
|
||||||
if (clientId != null) {
|
if (clientId != null) {
|
||||||
cf.setClientID(clientId);
|
cf.setClientID(clientId);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue