mirror of https://github.com/apache/activemq.git
patch to ignore blank clientIds in a connectionRequestInfo
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383524 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3d96abcc93
commit
149a9292c5
|
@ -106,7 +106,7 @@ public class ActiveMQResourceAdapter implements ResourceAdapter, Serializable {
|
|||
ActiveMQConnection physicalConnection = (ActiveMQConnection) connectionFactory.createConnection(userName, password);
|
||||
|
||||
String clientId = info.getClientid();
|
||||
if (clientId != null) {
|
||||
if (clientId != null && clientId.length() > 0) {
|
||||
physicalConnection.setClientID(clientId);
|
||||
}
|
||||
return physicalConnection;
|
||||
|
|
Loading…
Reference in New Issue