activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbert...@apache.org
Subject activemq-artemis git commit: Fix ResourceLimitTest and default queue creation to non-durable
Date Wed, 30 Nov 2016 23:10:57 GMT
Repository: activemq-artemis
Updated Branches:
  refs/heads/ARTEMIS-780 8338080a9 -> 054b3b977


Fix ResourceLimitTest and default queue creation to non-durable


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/054b3b97
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/054b3b97
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/054b3b97

Branch: refs/heads/ARTEMIS-780
Commit: 054b3b977c37d2c7f7c3179c927a3284c3482335
Parents: 8338080
Author: jbertram <jbertram@apache.com>
Authored: Wed Nov 30 17:10:14 2016 -0600
Committer: jbertram <jbertram@apache.com>
Committed: Wed Nov 30 17:10:14 2016 -0600

----------------------------------------------------------------------
 .../activemq/artemis/core/client/impl/ClientSessionImpl.java       | 2 +-
 .../artemis/tests/integration/server/ResourceLimitTest.java        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/054b3b97/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/impl/ClientSessionImpl.java
----------------------------------------------------------------------
diff --git a/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/impl/ClientSessionImpl.java
b/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/impl/ClientSessionImpl.java
index dd10e5b..f1b9cef 100644
--- a/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/impl/ClientSessionImpl.java
+++ b/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/impl/ClientSessionImpl.java
@@ -535,7 +535,7 @@ public final class ClientSessionImpl implements ClientSessionInternal,
FailureLi
                           queueName,
                           routingType,
                           null,
-                          true,
+                          false,
                           false,
                           ActiveMQDefaultConfiguration.getDefaultMaxQueueConsumers(),
                           ActiveMQDefaultConfiguration.getDefaultDeleteQueueOnNoConsumers(),

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/054b3b97/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/server/ResourceLimitTest.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/server/ResourceLimitTest.java
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/server/ResourceLimitTest.java
index a672bb1..2e77bb9 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/server/ResourceLimitTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/server/ResourceLimitTest.java
@@ -59,7 +59,7 @@ public class ResourceLimitTest extends ActiveMQTestBase {
       ActiveMQJAASSecurityManager securityManager = (ActiveMQJAASSecurityManager) server.getSecurityManager();
       securityManager.getConfiguration().addUser("myUser", "password");
       securityManager.getConfiguration().addRole("myUser", "arole");
-      Role role = new Role("arole", false, false, false, false, true, true, false, true,
false, false);
+      Role role = new Role("arole", false, false, false, false, true, true, false, true,
false, true);
       Set<Role> roles = new HashSet<>();
       roles.add(role);
       server.getSecurityRepository().addMatch("#", roles);


Mime
View raw message