Created queue should be durable on openwire
This commit is contained in:
parent
31055b6f0a
commit
172de47ce0
|
@ -692,7 +692,7 @@ public class OpenWireConnection extends AbstractRemotingConnection implements Se
|
|||
CheckType checkType = dest.isTemporary() ? CheckType.CREATE_NON_DURABLE_QUEUE : CheckType.CREATE_DURABLE_QUEUE;
|
||||
server.getSecurityStore().check(qName, checkType, this);
|
||||
server.checkQueueCreationLimit(getUsername());
|
||||
server.createQueue(qName, qName, null, connInfo == null ? null : SimpleString.toSimpleString(connInfo.getUserName()), false, false);
|
||||
server.createQueue(qName, qName, null, connInfo == null ? null : SimpleString.toSimpleString(connInfo.getUserName()), true, false);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue