diff options
Diffstat (limited to 'org.eclipse.scout.rt.mom.jms.test/src/test/java/org/eclipse/scout/rt/mom/jms/ArtemisJmsBrokerTestRule.java')
-rw-r--r-- | org.eclipse.scout.rt.mom.jms.test/src/test/java/org/eclipse/scout/rt/mom/jms/ArtemisJmsBrokerTestRule.java | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/org.eclipse.scout.rt.mom.jms.test/src/test/java/org/eclipse/scout/rt/mom/jms/ArtemisJmsBrokerTestRule.java b/org.eclipse.scout.rt.mom.jms.test/src/test/java/org/eclipse/scout/rt/mom/jms/ArtemisJmsBrokerTestRule.java index 713f130d86..b4945e9bef 100644 --- a/org.eclipse.scout.rt.mom.jms.test/src/test/java/org/eclipse/scout/rt/mom/jms/ArtemisJmsBrokerTestRule.java +++ b/org.eclipse.scout.rt.mom.jms.test/src/test/java/org/eclipse/scout/rt/mom/jms/ArtemisJmsBrokerTestRule.java @@ -1,15 +1,5 @@ /* - * Copyright (c) 2010-2017 BSI Business Systems Integration AG. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * BSI Business Systems Integration AG - initial API and implementation - */ -/* - * Copyright (c) 2019 BSI Business Systems Integration AG. + * Copyright (c) 2010-2020 BSI Business Systems Integration AG. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -18,6 +8,7 @@ * Contributors: * BSI Business Systems Integration AG - initial API and implementation */ + package org.eclipse.scout.rt.mom.jms; import java.io.IOException; @@ -29,10 +20,10 @@ import java.nio.file.SimpleFileVisitor; import java.nio.file.attribute.BasicFileAttributes; import java.util.concurrent.TimeUnit; +import org.apache.activemq.artemis.api.core.QueueConfiguration; import org.apache.activemq.artemis.api.core.SimpleString; import org.apache.activemq.artemis.api.core.TransportConfiguration; import org.apache.activemq.artemis.core.config.Configuration; -import org.apache.activemq.artemis.core.config.CoreQueueConfiguration; import org.apache.activemq.artemis.core.config.impl.ConfigurationImpl; import org.apache.activemq.artemis.core.remoting.impl.invm.InVMAcceptorFactory; import org.apache.activemq.artemis.core.server.embedded.EmbeddedActiveMQ; @@ -144,8 +135,8 @@ public class ArtemisJmsBrokerTestRule extends ExternalResource { return config; } - protected CoreQueueConfiguration createQueue(String name) { - return new CoreQueueConfiguration().setName(name).setAddress(name); + protected QueueConfiguration createQueue(String name) { + return new QueueConfiguration(name).setAddress(name); } protected void stopArtemisJmsServer() { |