mirror of https://github.com/apache/activemq.git
refactoring to org.apache.activemq package names.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@359595 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f1a084efeb
commit
21060b0595
|
@ -30,7 +30,7 @@
|
||||||
|
|
||||||
<delete dir="target/test"/>
|
<delete dir="target/test"/>
|
||||||
|
|
||||||
<taskdef name="systest" classname="org.activemq.systest.task.SystemTestTask">
|
<taskdef name="systest" classname="org.apache.activemq.systest.task.SystemTestTask">
|
||||||
<classpath refid="test.classpath"/>
|
<classpath refid="test.classpath"/>
|
||||||
</taskdef>
|
</taskdef>
|
||||||
|
|
||||||
|
|
|
@ -11,19 +11,19 @@
|
||||||
</shortDescription>
|
</shortDescription>
|
||||||
<description>System Testing Framework for ActiveMQ</description>
|
<description>System Testing Framework for ActiveMQ</description>
|
||||||
|
|
||||||
<package>org.activemq.systest</package>
|
<package>org.apache.activemq.systest</package>
|
||||||
<packageGroups>
|
<packageGroups>
|
||||||
<packageGroup>
|
<packageGroup>
|
||||||
<title>The core APIs of the system testing agents</title>
|
<title>The core APIs of the system testing agents</title>
|
||||||
<packages>org.activemq.systest</packages>
|
<packages>org.apache.activemq.systest</packages>
|
||||||
</packageGroup>
|
</packageGroup>
|
||||||
<packageGroup>
|
<packageGroup>
|
||||||
<title>The single VM implementations</title>
|
<title>The single VM implementations</title>
|
||||||
<packages>org.activemq.systest.impl.vm</packages>
|
<packages>org.apache.activemq.systest.impl.vm</packages>
|
||||||
</packageGroup>
|
</packageGroup>
|
||||||
<packageGroup>
|
<packageGroup>
|
||||||
<title>The testing use cases and scenarios</title>
|
<title>The testing use cases and scenarios</title>
|
||||||
<packages>org.activemq.systest.usecase.*</packages>
|
<packages>org.apache.activemq.systest.usecase.*</packages>
|
||||||
</packageGroup>
|
</packageGroup>
|
||||||
</packageGroups>
|
</packageGroups>
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
package org.activemq.systest;
|
package org.apache.activemq.systest;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
package org.activemq.systest;
|
package org.apache.activemq.systest;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A helper class used to stop a bunch of services, catching and logging any
|
* A helper class used to stop a bunch of services, catching and logging any
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
package org.activemq.systest;
|
package org.apache.activemq.systest;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A helper class for working with agents
|
* A helper class for working with agents
|
|
@ -15,7 +15,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
package org.activemq.systest;
|
package org.apache.activemq.systest;
|
||||||
|
|
||||||
import javax.jms.ConnectionFactory;
|
import javax.jms.ConnectionFactory;
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
|
|
||||||
package org.activemq.systest;
|
package org.apache.activemq.systest;
|
||||||
|
|
||||||
import javax.jms.Destination;
|
import javax.jms.Destination;
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
package org.activemq.systest;
|
package org.apache.activemq.systest;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
|
@ -15,7 +15,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
package org.activemq.systest;
|
package org.apache.activemq.systest;
|
||||||
|
|
||||||
import javax.jms.Destination;
|
import javax.jms.Destination;
|
||||||
import javax.jms.JMSException;
|
import javax.jms.JMSException;
|
|
@ -15,7 +15,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
package org.activemq.systest;
|
package org.apache.activemq.systest;
|
||||||
|
|
||||||
import javax.jms.JMSException;
|
import javax.jms.JMSException;
|
||||||
import javax.jms.MessageProducer;
|
import javax.jms.MessageProducer;
|
|
@ -15,7 +15,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
package org.activemq.systest;
|
package org.apache.activemq.systest;
|
||||||
|
|
||||||
import javax.jms.JMSException;
|
import javax.jms.JMSException;
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
package org.activemq.systest;
|
package org.apache.activemq.systest;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A marker interface to indicate that a Scenario only works with queues
|
* A marker interface to indicate that a Scenario only works with queues
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
|
|
||||||
package org.activemq.systest;
|
package org.apache.activemq.systest;
|
||||||
|
|
||||||
import javax.jms.Destination;
|
import javax.jms.Destination;
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
package org.activemq.systest;
|
package org.apache.activemq.systest;
|
||||||
|
|
||||||
import org.apache.commons.logging.Log;
|
import org.apache.commons.logging.Log;
|
||||||
import org.apache.commons.logging.LogFactory;
|
import org.apache.commons.logging.LogFactory;
|
|
@ -15,7 +15,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
package org.activemq.systest;
|
package org.apache.activemq.systest;
|
||||||
|
|
||||||
import junit.framework.AssertionFailedError;
|
import junit.framework.AssertionFailedError;
|
||||||
import junit.framework.Test;
|
import junit.framework.Test;
|
|
@ -15,7 +15,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
package org.activemq.systest;
|
package org.apache.activemq.systest;
|
||||||
|
|
||||||
import org.springframework.context.ApplicationContext;
|
import org.springframework.context.ApplicationContext;
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
package org.activemq.systest;
|
package org.apache.activemq.systest;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A marker interface to indicate that a Scenario only works with queues
|
* A marker interface to indicate that a Scenario only works with queues
|
|
@ -16,7 +16,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
package org.activemq.systest.impl;
|
package org.apache.activemq.systest.impl;
|
||||||
|
|
||||||
import edu.emory.mathcs.backport.java.util.concurrent.CopyOnWriteArrayList;
|
import edu.emory.mathcs.backport.java.util.concurrent.CopyOnWriteArrayList;
|
||||||
|
|
|
@ -15,14 +15,14 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
package org.activemq.systest.impl;
|
package org.apache.activemq.systest.impl;
|
||||||
|
|
||||||
import org.activemq.ActiveMQConnectionFactory;
|
import org.apache.activemq.ActiveMQConnectionFactory;
|
||||||
import org.activemq.broker.BrokerService;
|
import org.apache.activemq.broker.BrokerService;
|
||||||
import org.activemq.network.NetworkConnector;
|
import org.apache.activemq.network.NetworkConnector;
|
||||||
import org.activemq.systest.AgentStopper;
|
import org.apache.activemq.systest.AgentStopper;
|
||||||
import org.activemq.systest.AgentSupport;
|
import org.apache.activemq.systest.AgentSupport;
|
||||||
import org.activemq.systest.BrokerAgent;
|
import org.apache.activemq.systest.BrokerAgent;
|
||||||
import org.apache.commons.logging.Log;
|
import org.apache.commons.logging.Log;
|
||||||
import org.apache.commons.logging.LogFactory;
|
import org.apache.commons.logging.LogFactory;
|
||||||
|
|
|
@ -15,11 +15,11 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
package org.activemq.systest.impl;
|
package org.apache.activemq.systest.impl;
|
||||||
|
|
||||||
import org.activemq.systest.AgentStopper;
|
import org.apache.activemq.systest.AgentStopper;
|
||||||
import org.activemq.systest.ConsumerAgent;
|
import org.apache.activemq.systest.ConsumerAgent;
|
||||||
import org.activemq.systest.MessageList;
|
import org.apache.activemq.systest.MessageList;
|
||||||
|
|
||||||
import javax.jms.JMSException;
|
import javax.jms.JMSException;
|
||||||
import javax.jms.MessageConsumer;
|
import javax.jms.MessageConsumer;
|
|
@ -15,13 +15,13 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
package org.activemq.systest.impl;
|
package org.apache.activemq.systest.impl;
|
||||||
|
|
||||||
import org.activemq.command.ActiveMQQueue;
|
import org.apache.activemq.command.ActiveMQQueue;
|
||||||
import org.activemq.command.ActiveMQTempQueue;
|
import org.apache.activemq.command.ActiveMQTempQueue;
|
||||||
import org.activemq.command.ActiveMQTempTopic;
|
import org.apache.activemq.command.ActiveMQTempTopic;
|
||||||
import org.activemq.command.ActiveMQTopic;
|
import org.apache.activemq.command.ActiveMQTopic;
|
||||||
import org.activemq.systest.DestinationFactory;
|
import org.apache.activemq.systest.DestinationFactory;
|
||||||
|
|
||||||
import javax.jms.Destination;
|
import javax.jms.Destination;
|
||||||
import javax.jms.JMSException;
|
import javax.jms.JMSException;
|
|
@ -15,11 +15,11 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
package org.activemq.systest.impl;
|
package org.apache.activemq.systest.impl;
|
||||||
|
|
||||||
import org.activemq.broker.BrokerService;
|
import org.apache.activemq.broker.BrokerService;
|
||||||
import org.activemq.network.NetworkConnector;
|
import org.apache.activemq.network.NetworkConnector;
|
||||||
import org.activemq.systest.BrokerAgent;
|
import org.apache.activemq.systest.BrokerAgent;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A broker using discovery
|
* A broker using discovery
|
|
@ -15,12 +15,12 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
package org.activemq.systest.impl;
|
package org.apache.activemq.systest.impl;
|
||||||
|
|
||||||
import org.activemq.systest.AgentStopper;
|
import org.apache.activemq.systest.AgentStopper;
|
||||||
import org.activemq.systest.AgentSupport;
|
import org.apache.activemq.systest.AgentSupport;
|
||||||
import org.activemq.systest.BrokerAgent;
|
import org.apache.activemq.systest.BrokerAgent;
|
||||||
import org.activemq.systest.ClientAgent;
|
import org.apache.activemq.systest.ClientAgent;
|
||||||
|
|
||||||
import javax.jms.Connection;
|
import javax.jms.Connection;
|
||||||
import javax.jms.ConnectionFactory;
|
import javax.jms.ConnectionFactory;
|
|
@ -15,10 +15,10 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
package org.activemq.systest.impl;
|
package org.apache.activemq.systest.impl;
|
||||||
|
|
||||||
import org.activemq.systest.AgentStopper;
|
import org.apache.activemq.systest.AgentStopper;
|
||||||
import org.activemq.systest.MessageList;
|
import org.apache.activemq.systest.MessageList;
|
||||||
|
|
||||||
import javax.jms.JMSException;
|
import javax.jms.JMSException;
|
||||||
import javax.jms.Message;
|
import javax.jms.Message;
|
|
@ -15,11 +15,11 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
package org.activemq.systest.impl;
|
package org.apache.activemq.systest.impl;
|
||||||
|
|
||||||
import org.activemq.systest.AgentStopper;
|
import org.apache.activemq.systest.AgentStopper;
|
||||||
import org.activemq.systest.MessageList;
|
import org.apache.activemq.systest.MessageList;
|
||||||
import org.activemq.systest.ProducerAgent;
|
import org.apache.activemq.systest.ProducerAgent;
|
||||||
|
|
||||||
import javax.jms.DeliveryMode;
|
import javax.jms.DeliveryMode;
|
||||||
import javax.jms.JMSException;
|
import javax.jms.JMSException;
|
|
@ -15,9 +15,9 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
package org.activemq.systest.impl;
|
package org.apache.activemq.systest.impl;
|
||||||
|
|
||||||
import org.activemq.systest.MessageList;
|
import org.apache.activemq.systest.MessageList;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A {@link MessageList} implementation which generates a random body
|
* A {@link MessageList} implementation which generates a random body
|
|
@ -15,10 +15,10 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
package org.activemq.systest.impl;
|
package org.apache.activemq.systest.impl;
|
||||||
|
|
||||||
import org.activemq.ActiveMQConnectionFactory;
|
import org.apache.activemq.ActiveMQConnectionFactory;
|
||||||
import org.activemq.systest.BrokerAgent;
|
import org.apache.activemq.systest.BrokerAgent;
|
||||||
|
|
||||||
import javax.jms.ConnectionFactory;
|
import javax.jms.ConnectionFactory;
|
||||||
|
|
||||||
|
@ -129,7 +129,7 @@ public class SeparateBrokerProcessAgentImpl extends SeparateProcessAgent impleme
|
||||||
|
|
||||||
protected String createBrokerScript() {
|
protected String createBrokerScript() {
|
||||||
String version = null;
|
String version = null;
|
||||||
Package p = Package.getPackage("org.activemq");
|
Package p = Package.getPackage("org.apache.activemq");
|
||||||
if (p != null) {
|
if (p != null) {
|
||||||
version = p.getImplementationVersion();
|
version = p.getImplementationVersion();
|
||||||
}
|
}
|
|
@ -15,10 +15,10 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
package org.activemq.systest.impl;
|
package org.apache.activemq.systest.impl;
|
||||||
|
|
||||||
import org.activemq.systest.AgentStopper;
|
import org.apache.activemq.systest.AgentStopper;
|
||||||
import org.activemq.systest.AgentSupport;
|
import org.apache.activemq.systest.AgentSupport;
|
||||||
|
|
||||||
import java.io.BufferedReader;
|
import java.io.BufferedReader;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
|
@ -15,7 +15,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
package org.activemq.systest.task;
|
package org.apache.activemq.systest.task;
|
||||||
|
|
||||||
import org.codehaus.jam.JAnnotation;
|
import org.codehaus.jam.JAnnotation;
|
||||||
import org.codehaus.jam.JAnnotationValue;
|
import org.codehaus.jam.JAnnotationValue;
|
|
@ -15,13 +15,13 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
package org.activemq.systest.task;
|
package org.apache.activemq.systest.task;
|
||||||
|
|
||||||
import org.activemq.systest.DestinationFactory;
|
import org.apache.activemq.systest.DestinationFactory;
|
||||||
import org.activemq.systest.QueueOnlyScenario;
|
import org.apache.activemq.systest.QueueOnlyScenario;
|
||||||
import org.activemq.systest.Scenario;
|
import org.apache.activemq.systest.Scenario;
|
||||||
import org.activemq.systest.ScenarioTestSuite;
|
import org.apache.activemq.systest.ScenarioTestSuite;
|
||||||
import org.activemq.systest.TopicOnlyScenario;
|
import org.apache.activemq.systest.TopicOnlyScenario;
|
||||||
import org.apache.tools.ant.DirectoryScanner;
|
import org.apache.tools.ant.DirectoryScanner;
|
||||||
import org.codehaus.jam.JClass;
|
import org.codehaus.jam.JClass;
|
||||||
|
|
||||||
|
@ -184,8 +184,8 @@ public class SystemTestGenerator {
|
||||||
writer.println(" **/");
|
writer.println(" **/");
|
||||||
writer.println("package " + packageName + ";");
|
writer.println("package " + packageName + ";");
|
||||||
writer.println();
|
writer.println();
|
||||||
writer.println("import org.activemq.systest.DestinationFactory;");
|
writer.println("import org.apache.activemq.systest.DestinationFactory;");
|
||||||
writer.println("import org.activemq.systest.ScenarioTestSuite;");
|
writer.println("import org.apache.activemq.systest.ScenarioTestSuite;");
|
||||||
writer.println("import " + type.getQualifiedName() + ";");
|
writer.println("import " + type.getQualifiedName() + ";");
|
||||||
writer.println("import org.springframework.context.ApplicationContext;");
|
writer.println("import org.springframework.context.ApplicationContext;");
|
||||||
writer.println("import org.springframework.context.support.FileSystemXmlApplicationContext;");
|
writer.println("import org.springframework.context.support.FileSystemXmlApplicationContext;");
|
|
@ -1,4 +1,4 @@
|
||||||
package org.activemq.systest.task;
|
package org.apache.activemq.systest.task;
|
||||||
|
|
||||||
import org.apache.tools.ant.BuildException;
|
import org.apache.tools.ant.BuildException;
|
||||||
import org.apache.tools.ant.DirectoryScanner;
|
import org.apache.tools.ant.DirectoryScanner;
|
|
@ -15,12 +15,12 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
package org.activemq.systest.usecase.network;
|
package org.apache.activemq.systest.usecase.network;
|
||||||
|
|
||||||
import org.activemq.systest.ConsumerAgent;
|
import org.apache.activemq.systest.ConsumerAgent;
|
||||||
import org.activemq.systest.MessageList;
|
import org.apache.activemq.systest.MessageList;
|
||||||
import org.activemq.systest.ProducerAgent;
|
import org.apache.activemq.systest.ProducerAgent;
|
||||||
import org.activemq.systest.ScenarioSupport;
|
import org.apache.activemq.systest.ScenarioSupport;
|
||||||
|
|
||||||
import javax.jms.Destination;
|
import javax.jms.Destination;
|
||||||
|
|
|
@ -15,12 +15,12 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
package org.activemq.systest.usecase.network;
|
package org.apache.activemq.systest.usecase.network;
|
||||||
|
|
||||||
import org.activemq.systest.BrokerAgent;
|
import org.apache.activemq.systest.BrokerAgent;
|
||||||
import org.activemq.systest.ConsumerAgent;
|
import org.apache.activemq.systest.ConsumerAgent;
|
||||||
import org.activemq.systest.MessageList;
|
import org.apache.activemq.systest.MessageList;
|
||||||
import org.activemq.systest.ProducerAgent;
|
import org.apache.activemq.systest.ProducerAgent;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
|
@ -15,13 +15,13 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
package org.activemq.systest.usecase.network;
|
package org.apache.activemq.systest.usecase.network;
|
||||||
|
|
||||||
import org.activemq.systest.BrokerAgent;
|
import org.apache.activemq.systest.BrokerAgent;
|
||||||
import org.activemq.systest.ConsumerAgent;
|
import org.apache.activemq.systest.ConsumerAgent;
|
||||||
import org.activemq.systest.MessageList;
|
import org.apache.activemq.systest.MessageList;
|
||||||
import org.activemq.systest.ProducerAgent;
|
import org.apache.activemq.systest.ProducerAgent;
|
||||||
import org.activemq.systest.QueueOnlyScenario;
|
import org.apache.activemq.systest.QueueOnlyScenario;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
|
@ -15,12 +15,12 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
package org.activemq.systest.usecase.network;
|
package org.apache.activemq.systest.usecase.network;
|
||||||
|
|
||||||
import org.activemq.systest.BrokerAgent;
|
import org.apache.activemq.systest.BrokerAgent;
|
||||||
import org.activemq.systest.ConsumerAgent;
|
import org.apache.activemq.systest.ConsumerAgent;
|
||||||
import org.activemq.systest.MessageList;
|
import org.apache.activemq.systest.MessageList;
|
||||||
import org.activemq.systest.ProducerAgent;
|
import org.apache.activemq.systest.ProducerAgent;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
|
@ -15,12 +15,12 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
package org.activemq.systest.usecase.network;
|
package org.apache.activemq.systest.usecase.network;
|
||||||
|
|
||||||
import org.activemq.systest.BrokerAgent;
|
import org.apache.activemq.systest.BrokerAgent;
|
||||||
import org.activemq.systest.ConsumerAgent;
|
import org.apache.activemq.systest.ConsumerAgent;
|
||||||
import org.activemq.systest.MessageList;
|
import org.apache.activemq.systest.MessageList;
|
||||||
import org.activemq.systest.ProducerAgent;
|
import org.apache.activemq.systest.ProducerAgent;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
|
@ -4,17 +4,17 @@
|
||||||
<beans>
|
<beans>
|
||||||
|
|
||||||
<bean id="broker1" singleton="false"
|
<bean id="broker1" singleton="false"
|
||||||
class="org.activemq.systest.impl.BrokerAgentImpl">
|
class="org.apache.activemq.systest.impl.BrokerAgentImpl">
|
||||||
<property name="persistent" value="true"></property>
|
<property name="persistent" value="true"></property>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<bean id="broker2" singleton="false"
|
<bean id="broker2" singleton="false"
|
||||||
class="org.activemq.systest.impl.BrokerAgentImpl">
|
class="org.apache.activemq.systest.impl.BrokerAgentImpl">
|
||||||
<property name="persistent" value="true"></property>
|
<property name="persistent" value="true"></property>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<bean id="broker3" singleton="false"
|
<bean id="broker3" singleton="false"
|
||||||
class="org.activemq.systest.impl.BrokerAgentImpl">
|
class="org.apache.activemq.systest.impl.BrokerAgentImpl">
|
||||||
<property name="persistent" value="true"></property>
|
<property name="persistent" value="true"></property>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
|
|
|
@ -4,17 +4,17 @@
|
||||||
<beans>
|
<beans>
|
||||||
|
|
||||||
<bean id="broker1" singleton="false"
|
<bean id="broker1" singleton="false"
|
||||||
class="org.activemq.systest.impl.BrokerAgentImpl">
|
class="org.apache.activemq.systest.impl.BrokerAgentImpl">
|
||||||
<property name="persistent" value="false"></property>
|
<property name="persistent" value="false"></property>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<bean id="broker2" singleton="false"
|
<bean id="broker2" singleton="false"
|
||||||
class="org.activemq.systest.impl.BrokerAgentImpl">
|
class="org.apache.activemq.systest.impl.BrokerAgentImpl">
|
||||||
<property name="persistent" value="false"></property>
|
<property name="persistent" value="false"></property>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<bean id="broker3" singleton="false"
|
<bean id="broker3" singleton="false"
|
||||||
class="org.activemq.systest.impl.BrokerAgentImpl">
|
class="org.apache.activemq.systest.impl.BrokerAgentImpl">
|
||||||
<property name="persistent" value="false"></property>
|
<property name="persistent" value="false"></property>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
|
|
|
@ -4,17 +4,17 @@
|
||||||
<beans>
|
<beans>
|
||||||
|
|
||||||
<bean id="broker1" singleton="false"
|
<bean id="broker1" singleton="false"
|
||||||
class="org.activemq.systest.impl.DiscoveryBrokerAgentImpl">
|
class="org.apache.activemq.systest.impl.DiscoveryBrokerAgentImpl">
|
||||||
<property name="persistent" value="false"></property>
|
<property name="persistent" value="false"></property>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<bean id="broker2" singleton="false"
|
<bean id="broker2" singleton="false"
|
||||||
class="org.activemq.systest.impl.DiscoveryBrokerAgentImpl">
|
class="org.apache.activemq.systest.impl.DiscoveryBrokerAgentImpl">
|
||||||
<property name="persistent" value="false"></property>
|
<property name="persistent" value="false"></property>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<bean id="broker3" singleton="false"
|
<bean id="broker3" singleton="false"
|
||||||
class="org.activemq.systest.impl.DiscoveryBrokerAgentImpl">
|
class="org.apache.activemq.systest.impl.DiscoveryBrokerAgentImpl">
|
||||||
<property name="persistent" value="false"></property>
|
<property name="persistent" value="false"></property>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
|
|
|
@ -4,17 +4,17 @@
|
||||||
<beans>
|
<beans>
|
||||||
|
|
||||||
<bean id="broker1" singleton="false"
|
<bean id="broker1" singleton="false"
|
||||||
class="org.activemq.systest.impl.SeparateBrokerProcessAgentImpl">
|
class="org.apache.activemq.systest.impl.SeparateBrokerProcessAgentImpl">
|
||||||
<constructor-arg value="localhost"/>
|
<constructor-arg value="localhost"/>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<bean id="broker2" singleton="false"
|
<bean id="broker2" singleton="false"
|
||||||
class="org.activemq.systest.impl.SeparateBrokerProcessAgentImpl">
|
class="org.apache.activemq.systest.impl.SeparateBrokerProcessAgentImpl">
|
||||||
<constructor-arg value="localhost"/>
|
<constructor-arg value="localhost"/>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<bean id="broker3" singleton="false"
|
<bean id="broker3" singleton="false"
|
||||||
class="org.activemq.systest.impl.SeparateBrokerProcessAgentImpl">
|
class="org.apache.activemq.systest.impl.SeparateBrokerProcessAgentImpl">
|
||||||
<constructor-arg value="localhost"/>
|
<constructor-arg value="localhost"/>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
|
|
|
@ -5,24 +5,24 @@
|
||||||
|
|
||||||
<!-- types of producer -->
|
<!-- types of producer -->
|
||||||
<bean id="durableProducer" singleton="false"
|
<bean id="durableProducer" singleton="false"
|
||||||
class="org.activemq.systest.impl.ProducerAgentImpl">
|
class="org.apache.activemq.systest.impl.ProducerAgentImpl">
|
||||||
<property name="persistent" value="true" />
|
<property name="persistent" value="true" />
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<!-- types of consumer -->
|
<!-- types of consumer -->
|
||||||
<bean id="consumer" singleton="false"
|
<bean id="consumer" singleton="false"
|
||||||
class="org.activemq.systest.impl.ConsumerAgentImpl">
|
class="org.apache.activemq.systest.impl.ConsumerAgentImpl">
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<!-- types of messageList -->
|
<!-- types of messageList -->
|
||||||
<bean id="messageList"
|
<bean id="messageList"
|
||||||
class="org.activemq.systest.impl.MessageListImpl">
|
class="org.apache.activemq.systest.impl.MessageListImpl">
|
||||||
<constructor-arg value="10" />
|
<constructor-arg value="10" />
|
||||||
<constructor-arg value="100" />
|
<constructor-arg value="100" />
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<!-- destination factory -->
|
<!-- destination factory -->
|
||||||
<bean id="destinationFactory"
|
<bean id="destinationFactory"
|
||||||
class="org.activemq.systest.impl.DestinationFactoryImpl"/>
|
class="org.apache.activemq.systest.impl.DestinationFactoryImpl"/>
|
||||||
|
|
||||||
</beans>
|
</beans>
|
||||||
|
|
|
@ -5,25 +5,25 @@
|
||||||
|
|
||||||
<!-- types of producer -->
|
<!-- types of producer -->
|
||||||
<bean id="durableTransactedProducer" singleton="false"
|
<bean id="durableTransactedProducer" singleton="false"
|
||||||
class="org.activemq.systest.impl.ProducerAgentImpl">
|
class="org.apache.activemq.systest.impl.ProducerAgentImpl">
|
||||||
<property name="persistent" value="true" />
|
<property name="persistent" value="true" />
|
||||||
<property name="transacted" value="true" />
|
<property name="transacted" value="true" />
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<!-- types of consumer -->
|
<!-- types of consumer -->
|
||||||
<bean id="consumer" singleton="false"
|
<bean id="consumer" singleton="false"
|
||||||
class="org.activemq.systest.impl.ConsumerAgentImpl">
|
class="org.apache.activemq.systest.impl.ConsumerAgentImpl">
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<!-- types of messageList -->
|
<!-- types of messageList -->
|
||||||
<bean id="messageList"
|
<bean id="messageList"
|
||||||
class="org.activemq.systest.impl.MessageListImpl">
|
class="org.apache.activemq.systest.impl.MessageListImpl">
|
||||||
<constructor-arg value="10" />
|
<constructor-arg value="10" />
|
||||||
<constructor-arg value="100" />
|
<constructor-arg value="100" />
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<!-- destination factory -->
|
<!-- destination factory -->
|
||||||
<bean id="destinationFactory"
|
<bean id="destinationFactory"
|
||||||
class="org.activemq.systest.impl.DestinationFactoryImpl"/>
|
class="org.apache.activemq.systest.impl.DestinationFactoryImpl"/>
|
||||||
|
|
||||||
</beans>
|
</beans>
|
||||||
|
|
|
@ -5,24 +5,24 @@
|
||||||
|
|
||||||
<!-- types of producer -->
|
<!-- types of producer -->
|
||||||
<bean id="nonDurableProducer" singleton="false"
|
<bean id="nonDurableProducer" singleton="false"
|
||||||
class="org.activemq.systest.impl.ProducerAgentImpl">
|
class="org.apache.activemq.systest.impl.ProducerAgentImpl">
|
||||||
<property name="persistent" value="false" />
|
<property name="persistent" value="false" />
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<!-- types of consumer -->
|
<!-- types of consumer -->
|
||||||
<bean id="consumer" singleton="false"
|
<bean id="consumer" singleton="false"
|
||||||
class="org.activemq.systest.impl.ConsumerAgentImpl">
|
class="org.apache.activemq.systest.impl.ConsumerAgentImpl">
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<!-- types of messageList -->
|
<!-- types of messageList -->
|
||||||
<bean id="messageList"
|
<bean id="messageList"
|
||||||
class="org.activemq.systest.impl.MessageListImpl">
|
class="org.apache.activemq.systest.impl.MessageListImpl">
|
||||||
<constructor-arg value="10" />
|
<constructor-arg value="10" />
|
||||||
<constructor-arg value="100" />
|
<constructor-arg value="100" />
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<!-- destination factory -->
|
<!-- destination factory -->
|
||||||
<bean id="destinationFactory"
|
<bean id="destinationFactory"
|
||||||
class="org.activemq.systest.impl.DestinationFactoryImpl"/>
|
class="org.apache.activemq.systest.impl.DestinationFactoryImpl"/>
|
||||||
|
|
||||||
</beans>
|
</beans>
|
||||||
|
|
|
@ -5,25 +5,25 @@
|
||||||
|
|
||||||
<!-- types of producer -->
|
<!-- types of producer -->
|
||||||
<bean id="nonDurableTransactedProducer" singleton="false"
|
<bean id="nonDurableTransactedProducer" singleton="false"
|
||||||
class="org.activemq.systest.impl.ProducerAgentImpl">
|
class="org.apache.activemq.systest.impl.ProducerAgentImpl">
|
||||||
<property name="persistent" value="false" />
|
<property name="persistent" value="false" />
|
||||||
<property name="transacted" value="true" />
|
<property name="transacted" value="true" />
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<!-- types of consumer -->
|
<!-- types of consumer -->
|
||||||
<bean id="consumer" singleton="false"
|
<bean id="consumer" singleton="false"
|
||||||
class="org.activemq.systest.impl.ConsumerAgentImpl">
|
class="org.apache.activemq.systest.impl.ConsumerAgentImpl">
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<!-- types of messageList -->
|
<!-- types of messageList -->
|
||||||
<bean id="messageList"
|
<bean id="messageList"
|
||||||
class="org.activemq.systest.impl.MessageListImpl">
|
class="org.apache.activemq.systest.impl.MessageListImpl">
|
||||||
<constructor-arg value="10" />
|
<constructor-arg value="10" />
|
||||||
<constructor-arg value="100" />
|
<constructor-arg value="100" />
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<!-- destination factory -->
|
<!-- destination factory -->
|
||||||
<bean id="destinationFactory"
|
<bean id="destinationFactory"
|
||||||
class="org.activemq.systest.impl.DestinationFactoryImpl"/>
|
class="org.apache.activemq.systest.impl.DestinationFactoryImpl"/>
|
||||||
|
|
||||||
</beans>
|
</beans>
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
log4j.rootLogger=INFO, out
|
log4j.rootLogger=INFO, out
|
||||||
#log4j.rootLogger=DEBUG, stdout
|
#log4j.rootLogger=DEBUG, stdout
|
||||||
|
|
||||||
log4j.logger.org.activemq.spring=WARN
|
log4j.logger.org.apache.activemq.spring=WARN
|
||||||
log4j.logger.org.activemq.store.journal=INFO
|
log4j.logger.org.apache.activemq.store.journal=INFO
|
||||||
log4j.logger.org.activeio.journal=INFO
|
log4j.logger.org.activeio.journal=INFO
|
||||||
|
|
||||||
# CONSOLE appender not used by default
|
# CONSOLE appender not used by default
|
||||||
|
|
Loading…
Reference in New Issue