http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/aerogear/src/main/java/org/apache/activemq/jms/example/AerogearExample.java ---------------------------------------------------------------------- diff --git a/examples/jms/aerogear/src/main/java/org/apache/activemq/jms/example/AerogearExample.java b/examples/jms/aerogear/src/main/java/org/apache/activemq/jms/example/AerogearExample.java index 7404c1b..c000ddf 100644 --- a/examples/jms/aerogear/src/main/java/org/apache/activemq/jms/example/AerogearExample.java +++ b/examples/jms/aerogear/src/main/java/org/apache/activemq/jms/example/AerogearExample.java @@ -10,7 +10,7 @@ * implied. See the License for the specific language governing * permissions and limitations under the License. */ -package org.apache.activemq6.jms.example; +package org.apache.activemq.jms.example; import javax.jms.Connection; import javax.jms.ConnectionFactory; @@ -22,7 +22,7 @@ import javax.jms.Session; import javax.jms.TextMessage; import javax.naming.InitialContext; -import org.apache.activemq6.common.example.HornetQExample; +import org.apache.activemq.common.example.HornetQExample; /** * A simple JMS Queue example that creates a producer and consumer on a queue and sends then receives a message.
http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/aerogear/src/main/resources/hornetq/server0/hornetq-configuration.xml ---------------------------------------------------------------------- diff --git a/examples/jms/aerogear/src/main/resources/hornetq/server0/hornetq-configuration.xml b/examples/jms/aerogear/src/main/resources/hornetq/server0/hornetq-configuration.xml index 082c442..87fd23c 100644 --- a/examples/jms/aerogear/src/main/resources/hornetq/server0/hornetq-configuration.xml +++ b/examples/jms/aerogear/src/main/resources/hornetq/server0/hornetq-configuration.xml @@ -15,14 +15,14 @@ <connectors> <connector name="netty-connector"> - <factory-class>org.apache.activemq6.core.remoting.impl.netty.NettyConnectorFactory</factory-class> + <factory-class>org.apache.activemq.core.remoting.impl.netty.NettyConnectorFactory</factory-class> </connector> </connectors> <!-- Acceptors --> <acceptors> <acceptor name="netty-acceptor"> - <factory-class>org.apache.activemq6.core.remoting.impl.netty.NettyAcceptorFactory</factory-class> + <factory-class>org.apache.activemq.core.remoting.impl.netty.NettyAcceptorFactory</factory-class> </acceptor> </acceptors> @@ -36,7 +36,7 @@ <connector-services> <connector-service name="aerogear-connector"> - <factory-class>org.apache.activemq6.integration.aerogear.AeroGearConnectorServiceFactory</factory-class> + <factory-class>org.apache.activemq.integration.aerogear.AeroGearConnectorServiceFactory</factory-class> <param key="endpoint" value="${endpoint}"/> <param key="queue" value="jms.queue.aerogearQueue"/> <param key="application-id" value="${applicationid}"/> http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/applet/applet.html ---------------------------------------------------------------------- diff --git a/examples/jms/applet/applet.html b/examples/jms/applet/applet.html index 78b37a5..4edd86e 100644 --- a/examples/jms/applet/applet.html +++ b/examples/jms/applet/applet.html @@ -9,7 +9,7 @@ publishes messages on a topic <code>exampleTopic</code> when "Send" is pressed.</p> <p>The Applet is also a MessageListener and will display messages received from the topic</p> - <applet code="org.apache.activemq6.jms.example.AppletExample.class" + <applet code="org.apache.activemq.jms.example.AppletExample.class" codebase="build/classes/" archive="hornetq-core-client.jar,hornetq-jms-client.jar,jboss-jms-api.jar,netty.jar" width="640" height="480"></applet> http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/applet/pom.xml ---------------------------------------------------------------------- diff --git a/examples/jms/applet/pom.xml b/examples/jms/applet/pom.xml index 794a55d..859103e 100644 --- a/examples/jms/applet/pom.xml +++ b/examples/jms/applet/pom.xml @@ -3,19 +3,19 @@ <modelVersion>4.0.0</modelVersion> <parent> - <groupId>org.apache.activemq6.examples.jms</groupId> + <groupId>org.apache.activemq.examples.jms</groupId> <artifactId>jms-examples</artifactId> <version>6.0.0-SNAPSHOT</version> </parent> - <artifactId>activemq6-jms-applet-example</artifactId> + <artifactId>activemq-jms-applet-example</artifactId> <packaging>jar</packaging> <name>ActiveMQ6 JMS Applet Example</name> <dependencies> <dependency> - <groupId>org.apache.activemq6.examples.jms</groupId> - <artifactId>activemq6-jms-examples-common</artifactId> + <groupId>org.apache.activemq.examples.jms</groupId> + <artifactId>activemq-jms-examples-common</artifactId> <version>${project.version}</version> </dependency> <dependency> @@ -31,8 +31,8 @@ <build> <plugins> <plugin> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-maven-plugin</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-maven-plugin</artifactId> <executions> <execution> <id>start0</id> @@ -49,7 +49,7 @@ <goal>runClient</goal> </goals> <configuration> - <clientClass>org.apache.activemq6.jms.example.AppletExample</clientClass> + <clientClass>org.apache.activemq.jms.example.AppletExample</clientClass> <args> <param>jnp://localhost:1099</param> </args> @@ -73,28 +73,28 @@ </executions> <dependencies> <dependency> - <groupId>org.apache.activemq6.examples.jms</groupId> - <artifactId>activemq6-jms-applet-example</artifactId> + <groupId>org.apache.activemq.examples.jms</groupId> + <artifactId>activemq-jms-applet-example</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-core-client</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-core-client</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-server</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-server</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-jms-client</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-jms-client</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-jms-server</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-jms-server</artifactId> <version>${project.version}</version> </dependency> <dependency> http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/applet/src/main/java/org/apache/activemq/jms/example/AppletExample.java ---------------------------------------------------------------------- diff --git a/examples/jms/applet/src/main/java/org/apache/activemq/jms/example/AppletExample.java b/examples/jms/applet/src/main/java/org/apache/activemq/jms/example/AppletExample.java index 1a67373..9f90141 100644 --- a/examples/jms/applet/src/main/java/org/apache/activemq/jms/example/AppletExample.java +++ b/examples/jms/applet/src/main/java/org/apache/activemq/jms/example/AppletExample.java @@ -10,7 +10,7 @@ * implied. See the License for the specific language governing * permissions and limitations under the License. */ -package org.apache.activemq6.jms.example; +package org.apache.activemq.jms.example; import java.awt.Color; import java.awt.GridBagConstraints; @@ -42,10 +42,10 @@ import javax.swing.JTextArea; import javax.swing.SwingConstants; import javax.swing.SwingUtilities; -import org.apache.activemq6.api.core.TransportConfiguration; -import org.apache.activemq6.api.jms.HornetQJMSClient; -import org.apache.activemq6.api.jms.JMSFactoryType; -import org.apache.activemq6.core.remoting.impl.netty.NettyConnectorFactory; +import org.apache.activemq.api.core.TransportConfiguration; +import org.apache.activemq.api.jms.HornetQJMSClient; +import org.apache.activemq.api.jms.JMSFactoryType; +import org.apache.activemq.core.remoting.impl.netty.NettyConnectorFactory; /** * A AppletExample http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/applet/src/main/java/org/apache/activemq/jms/example/HttpStaticFileServer.java ---------------------------------------------------------------------- diff --git a/examples/jms/applet/src/main/java/org/apache/activemq/jms/example/HttpStaticFileServer.java b/examples/jms/applet/src/main/java/org/apache/activemq/jms/example/HttpStaticFileServer.java index 02b5b1b..5b5646e 100644 --- a/examples/jms/applet/src/main/java/org/apache/activemq/jms/example/HttpStaticFileServer.java +++ b/examples/jms/applet/src/main/java/org/apache/activemq/jms/example/HttpStaticFileServer.java @@ -10,12 +10,12 @@ * implied. See the License for the specific language governing * permissions and limitations under the License. */ -package org.apache.activemq6.jms.example; +package org.apache.activemq.jms.example; import java.net.InetSocketAddress; import java.util.concurrent.Executors; -import org.apache.activemq6.common.example.HornetQExample; +import org.apache.activemq.common.example.HornetQExample; import org.jboss.netty.bootstrap.ServerBootstrap; import org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory; http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/applet/src/main/java/org/apache/activemq/jms/example/HttpStaticFileServerHandler.java ---------------------------------------------------------------------- diff --git a/examples/jms/applet/src/main/java/org/apache/activemq/jms/example/HttpStaticFileServerHandler.java b/examples/jms/applet/src/main/java/org/apache/activemq/jms/example/HttpStaticFileServerHandler.java index bd98b45..959cee1 100644 --- a/examples/jms/applet/src/main/java/org/apache/activemq/jms/example/HttpStaticFileServerHandler.java +++ b/examples/jms/applet/src/main/java/org/apache/activemq/jms/example/HttpStaticFileServerHandler.java @@ -10,7 +10,7 @@ * implied. See the License for the specific language governing * permissions and limitations under the License. */ -package org.apache.activemq6.jms.example; +package org.apache.activemq.jms.example; import java.io.File; import java.io.FileNotFoundException; http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/applet/src/main/java/org/apache/activemq/jms/example/HttpStaticFileServerPipelineFactory.java ---------------------------------------------------------------------- diff --git a/examples/jms/applet/src/main/java/org/apache/activemq/jms/example/HttpStaticFileServerPipelineFactory.java b/examples/jms/applet/src/main/java/org/apache/activemq/jms/example/HttpStaticFileServerPipelineFactory.java index c7f0f1d..7ba9c63 100644 --- a/examples/jms/applet/src/main/java/org/apache/activemq/jms/example/HttpStaticFileServerPipelineFactory.java +++ b/examples/jms/applet/src/main/java/org/apache/activemq/jms/example/HttpStaticFileServerPipelineFactory.java @@ -10,7 +10,7 @@ * implied. See the License for the specific language governing * permissions and limitations under the License. */ -package org.apache.activemq6.jms.example; +package org.apache.activemq.jms.example; import org.jboss.netty.channel.ChannelPipeline; import org.jboss.netty.channel.ChannelPipelineFactory; http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/applet/src/main/resources/hornetq/server0/hornetq-configuration.xml ---------------------------------------------------------------------- diff --git a/examples/jms/applet/src/main/resources/hornetq/server0/hornetq-configuration.xml b/examples/jms/applet/src/main/resources/hornetq/server0/hornetq-configuration.xml index 6bb581f..1a76d37 100644 --- a/examples/jms/applet/src/main/resources/hornetq/server0/hornetq-configuration.xml +++ b/examples/jms/applet/src/main/resources/hornetq/server0/hornetq-configuration.xml @@ -13,14 +13,14 @@ <!-- Connectors --> <connectors> <connector name="netty-connector"> - <factory-class>org.apache.activemq6.core.remoting.impl.netty.NettyConnectorFactory</factory-class> + <factory-class>org.apache.activemq.core.remoting.impl.netty.NettyConnectorFactory</factory-class> </connector> </connectors> <!-- Acceptors --> <acceptors> <acceptor name="netty-acceptor"> - <factory-class>org.apache.activemq6.core.remoting.impl.netty.NettyAcceptorFactory</factory-class> + <factory-class>org.apache.activemq.core.remoting.impl.netty.NettyAcceptorFactory</factory-class> </acceptor> </acceptors> http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/application-layer-failover/pom.xml ---------------------------------------------------------------------- diff --git a/examples/jms/application-layer-failover/pom.xml b/examples/jms/application-layer-failover/pom.xml index 37b5ffa..5f9eaf1 100644 --- a/examples/jms/application-layer-failover/pom.xml +++ b/examples/jms/application-layer-failover/pom.xml @@ -3,19 +3,19 @@ <modelVersion>4.0.0</modelVersion> <parent> - <groupId>org.apache.activemq6.examples.jms</groupId> + <groupId>org.apache.activemq.examples.jms</groupId> <artifactId>jms-examples</artifactId> <version>6.0.0-SNAPSHOT</version> </parent> - <artifactId>activemq6-jms-application-layer-failover-example</artifactId> + <artifactId>activemq-jms-application-layer-failover-example</artifactId> <packaging>jar</packaging> <name>ActiveMQ6 JMS Application Layer Failover Example</name> <dependencies> <dependency> - <groupId>org.apache.activemq6.examples.jms</groupId> - <artifactId>activemq6-jms-examples-common</artifactId> + <groupId>org.apache.activemq.examples.jms</groupId> + <artifactId>activemq-jms-examples-common</artifactId> <version>${project.version}</version> </dependency> <dependency> @@ -27,8 +27,8 @@ <build> <plugins> <plugin> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-maven-plugin</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-maven-plugin</artifactId> <executions> <execution> <id>start0</id> @@ -58,7 +58,7 @@ <goal>runClient</goal> </goals> <configuration> - <clientClass>org.apache.activemq6.jms.example.ApplicationLayerFailoverExample</clientClass> + <clientClass>org.apache.activemq.jms.example.ApplicationLayerFailoverExample</clientClass> <args> <param>jnp://localhost:1099</param> <param>jnp://localhost:1199</param> @@ -92,28 +92,28 @@ </executions> <dependencies> <dependency> - <groupId>org.apache.activemq6.examples.jms</groupId> - <artifactId>activemq6-jms-application-layer-failover-example</artifactId> + <groupId>org.apache.activemq.examples.jms</groupId> + <artifactId>activemq-jms-application-layer-failover-example</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-core-client</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-core-client</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-server</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-server</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-jms-client</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-jms-client</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-jms-server</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-jms-server</artifactId> <version>${project.version}</version> </dependency> <dependency> http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/application-layer-failover/src/main/java/org/apache/activemq/jms/example/ApplicationLayerFailoverExample.java ---------------------------------------------------------------------- diff --git a/examples/jms/application-layer-failover/src/main/java/org/apache/activemq/jms/example/ApplicationLayerFailoverExample.java b/examples/jms/application-layer-failover/src/main/java/org/apache/activemq/jms/example/ApplicationLayerFailoverExample.java index fd76e10..f40cfd4 100644 --- a/examples/jms/application-layer-failover/src/main/java/org/apache/activemq/jms/example/ApplicationLayerFailoverExample.java +++ b/examples/jms/application-layer-failover/src/main/java/org/apache/activemq/jms/example/ApplicationLayerFailoverExample.java @@ -10,7 +10,7 @@ * implied. See the License for the specific language governing * permissions and limitations under the License. */ -package org.apache.activemq6.jms.example; +package org.apache.activemq.jms.example; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; @@ -26,7 +26,7 @@ import javax.jms.Session; import javax.jms.TextMessage; import javax.naming.InitialContext; -import org.apache.activemq6.common.example.HornetQExample; +import org.apache.activemq.common.example.HornetQExample; /** * A simple example that demonstrates application-layer failover of the JMS connection from one node to another http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/application-layer-failover/src/main/resources/hornetq/server0/hornetq-configuration.xml ---------------------------------------------------------------------- diff --git a/examples/jms/application-layer-failover/src/main/resources/hornetq/server0/hornetq-configuration.xml b/examples/jms/application-layer-failover/src/main/resources/hornetq/server0/hornetq-configuration.xml index c0f95c6..f829fed 100644 --- a/examples/jms/application-layer-failover/src/main/resources/hornetq/server0/hornetq-configuration.xml +++ b/examples/jms/application-layer-failover/src/main/resources/hornetq/server0/hornetq-configuration.xml @@ -5,7 +5,7 @@ <!-- Connectors --> <connectors> <connector name="netty-connector"> - <factory-class>org.apache.activemq6.core.remoting.impl.netty.NettyConnectorFactory</factory-class> + <factory-class>org.apache.activemq.core.remoting.impl.netty.NettyConnectorFactory</factory-class> <param key="port" value="5445"/> </connector> </connectors> @@ -14,7 +14,7 @@ <acceptors> <acceptor name="netty-acceptor"> - <factory-class>org.apache.activemq6.core.remoting.impl.netty.NettyAcceptorFactory</factory-class> + <factory-class>org.apache.activemq.core.remoting.impl.netty.NettyAcceptorFactory</factory-class> <param key="port" value="5445"/> </acceptor> </acceptors> http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/application-layer-failover/src/main/resources/hornetq/server1/hornetq-configuration.xml ---------------------------------------------------------------------- diff --git a/examples/jms/application-layer-failover/src/main/resources/hornetq/server1/hornetq-configuration.xml b/examples/jms/application-layer-failover/src/main/resources/hornetq/server1/hornetq-configuration.xml index f1461e5..dc3012c 100644 --- a/examples/jms/application-layer-failover/src/main/resources/hornetq/server1/hornetq-configuration.xml +++ b/examples/jms/application-layer-failover/src/main/resources/hornetq/server1/hornetq-configuration.xml @@ -7,7 +7,7 @@ <connectors> <connector name="netty-connector"> - <factory-class>org.apache.activemq6.core.remoting.impl.netty.NettyConnectorFactory</factory-class> + <factory-class>org.apache.activemq.core.remoting.impl.netty.NettyConnectorFactory</factory-class> <param key="port" value="5446"/> </connector> </connectors> @@ -15,7 +15,7 @@ <!-- Acceptors --> <acceptors> <acceptor name="netty-acceptor"> - <factory-class>org.apache.activemq6.core.remoting.impl.netty.NettyAcceptorFactory</factory-class> + <factory-class>org.apache.activemq.core.remoting.impl.netty.NettyAcceptorFactory</factory-class> <param key="port" value="5446"/> </acceptor> </acceptors> http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/bridge/pom.xml ---------------------------------------------------------------------- diff --git a/examples/jms/bridge/pom.xml b/examples/jms/bridge/pom.xml index b7c87fe..ee5dbc7 100644 --- a/examples/jms/bridge/pom.xml +++ b/examples/jms/bridge/pom.xml @@ -3,24 +3,24 @@ <modelVersion>4.0.0</modelVersion> <parent> - <groupId>org.apache.activemq6.examples.jms</groupId> + <groupId>org.apache.activemq.examples.jms</groupId> <artifactId>jms-examples</artifactId> <version>6.0.0-SNAPSHOT</version> </parent> - <artifactId>activemq6-jms-bridge-example</artifactId> + <artifactId>activemq-jms-bridge-example</artifactId> <packaging>jar</packaging> <name>ActiveMQ6 JMS Bridge Example</name> <dependencies> <dependency> - <groupId>org.apache.activemq6.examples.jms</groupId> - <artifactId>activemq6-jms-examples-common</artifactId> + <groupId>org.apache.activemq.examples.jms</groupId> + <artifactId>activemq-jms-examples-common</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-server</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-server</artifactId> <version>${project.version}</version> </dependency> <dependency> @@ -32,8 +32,8 @@ <build> <plugins> <plugin> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-maven-plugin</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-maven-plugin</artifactId> <executions> <execution> <id>start0</id> @@ -62,7 +62,7 @@ <goal>runClient</goal> </goals> <configuration> - <clientClass>org.apache.activemq6.jms.example.BridgeExample</clientClass> + <clientClass>org.apache.activemq.jms.example.BridgeExample</clientClass> <args> <param>jnp://localhost:1099</param> <param>jnp://localhost:1199</param> @@ -96,28 +96,28 @@ </executions> <dependencies> <dependency> - <groupId>org.apache.activemq6.examples.jms</groupId> - <artifactId>activemq6-jms-bridge-example</artifactId> + <groupId>org.apache.activemq.examples.jms</groupId> + <artifactId>activemq-jms-bridge-example</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-core-client</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-core-client</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-server</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-server</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-jms-client</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-jms-client</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-jms-server</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-jms-server</artifactId> <version>${project.version}</version> </dependency> <dependency> http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/bridge/readme.html ---------------------------------------------------------------------- diff --git a/examples/jms/bridge/readme.html b/examples/jms/bridge/readme.html index 7ff6b29..49cbd77 100644 --- a/examples/jms/bridge/readme.html +++ b/examples/jms/bridge/readme.html @@ -42,7 +42,7 @@ <queue-name>jms.queue.sausage-factory</queue-name> <forwarding-address>jms.queue.mincing-machine</forwarding-address> <filter string="name='aardvark'"/> - <transformer-class-name>org.apache.activemq6.jms.example.HatColourChangeTransformer</transformer-class-name> + <transformer-class-name>org.apache.activemq.jms.example.HatColourChangeTransformer</transformer-class-name> <reconnect-attempts>-1</reconnect-attempts> <static-connectors> <connector-ref>remote-connector</connector-ref> http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/bridge/src/main/java/org/apache/activemq/jms/example/BridgeExample.java ---------------------------------------------------------------------- diff --git a/examples/jms/bridge/src/main/java/org/apache/activemq/jms/example/BridgeExample.java b/examples/jms/bridge/src/main/java/org/apache/activemq/jms/example/BridgeExample.java index 776010d..fe5f0f6 100644 --- a/examples/jms/bridge/src/main/java/org/apache/activemq/jms/example/BridgeExample.java +++ b/examples/jms/bridge/src/main/java/org/apache/activemq/jms/example/BridgeExample.java @@ -10,7 +10,7 @@ * implied. See the License for the specific language governing * permissions and limitations under the License. */ -package org.apache.activemq6.jms.example; +package org.apache.activemq.jms.example; import javax.jms.Connection; import javax.jms.ConnectionFactory; @@ -21,7 +21,7 @@ import javax.jms.Queue; import javax.jms.Session; import javax.naming.InitialContext; -import org.apache.activemq6.common.example.HornetQExample; +import org.apache.activemq.common.example.HornetQExample; /** * This example demonstrates a core bridge set-up between two nodes, consuming messages from a queue http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/bridge/src/main/java/org/apache/activemq/jms/example/HatColourChangeTransformer.java ---------------------------------------------------------------------- diff --git a/examples/jms/bridge/src/main/java/org/apache/activemq/jms/example/HatColourChangeTransformer.java b/examples/jms/bridge/src/main/java/org/apache/activemq/jms/example/HatColourChangeTransformer.java index 5c34380..991e7e4 100644 --- a/examples/jms/bridge/src/main/java/org/apache/activemq/jms/example/HatColourChangeTransformer.java +++ b/examples/jms/bridge/src/main/java/org/apache/activemq/jms/example/HatColourChangeTransformer.java @@ -10,11 +10,11 @@ * implied. See the License for the specific language governing * permissions and limitations under the License. */ -package org.apache.activemq6.jms.example; +package org.apache.activemq.jms.example; -import org.apache.activemq6.api.core.SimpleString; -import org.apache.activemq6.core.server.ServerMessage; -import org.apache.activemq6.core.server.cluster.Transformer; +import org.apache.activemq.api.core.SimpleString; +import org.apache.activemq.core.server.ServerMessage; +import org.apache.activemq.core.server.cluster.Transformer; /** * A HatColourChangeTransformer http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/bridge/src/main/resources/hornetq/server0/hornetq-configuration.xml ---------------------------------------------------------------------- diff --git a/examples/jms/bridge/src/main/resources/hornetq/server0/hornetq-configuration.xml b/examples/jms/bridge/src/main/resources/hornetq/server0/hornetq-configuration.xml index e0dde34..5e77aa5 100644 --- a/examples/jms/bridge/src/main/resources/hornetq/server0/hornetq-configuration.xml +++ b/examples/jms/bridge/src/main/resources/hornetq/server0/hornetq-configuration.xml @@ -13,13 +13,13 @@ <!-- Connectors --> <connectors> <connector name="netty-connector"> - <factory-class>org.apache.activemq6.core.remoting.impl.netty.NettyConnectorFactory</factory-class> + <factory-class>org.apache.activemq.core.remoting.impl.netty.NettyConnectorFactory</factory-class> <param key="port" value="5445"/> </connector> <!-- Connector to the other node --> <connector name="remote-connector"> - <factory-class>org.apache.activemq6.core.remoting.impl.netty.NettyConnectorFactory</factory-class> + <factory-class>org.apache.activemq.core.remoting.impl.netty.NettyConnectorFactory</factory-class> <param key="port" value="5446"/> </connector> </connectors> @@ -27,7 +27,7 @@ <!-- Acceptors --> <acceptors> <acceptor name="netty-acceptor"> - <factory-class>org.apache.activemq6.core.remoting.impl.netty.NettyAcceptorFactory</factory-class> + <factory-class>org.apache.activemq.core.remoting.impl.netty.NettyAcceptorFactory</factory-class> <param key="port" value="5445"/> </acceptor> </acceptors> @@ -47,7 +47,7 @@ <queue-name>jms.queue.sausage-factory</queue-name> <forwarding-address>jms.queue.mincing-machine</forwarding-address> <filter string="name='aardvark'"/> - <transformer-class-name>org.apache.activemq6.jms.example.HatColourChangeTransformer</transformer-class-name> + <transformer-class-name>org.apache.activemq.jms.example.HatColourChangeTransformer</transformer-class-name> <reconnect-attempts>-1</reconnect-attempts> <static-connectors> <connector-ref>remote-connector</connector-ref> http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/bridge/src/main/resources/hornetq/server1/hornetq-configuration.xml ---------------------------------------------------------------------- diff --git a/examples/jms/bridge/src/main/resources/hornetq/server1/hornetq-configuration.xml b/examples/jms/bridge/src/main/resources/hornetq/server1/hornetq-configuration.xml index 76cf079..a5381d0 100644 --- a/examples/jms/bridge/src/main/resources/hornetq/server1/hornetq-configuration.xml +++ b/examples/jms/bridge/src/main/resources/hornetq/server1/hornetq-configuration.xml @@ -14,7 +14,7 @@ <connectors> <connector name="netty-connector"> - <factory-class>org.apache.activemq6.core.remoting.impl.netty.NettyConnectorFactory</factory-class> + <factory-class>org.apache.activemq.core.remoting.impl.netty.NettyConnectorFactory</factory-class> <param key="port" value="5446"/> </connector> </connectors> @@ -22,7 +22,7 @@ <!-- Acceptors --> <acceptors> <acceptor name="netty-acceptor"> - <factory-class>org.apache.activemq6.core.remoting.impl.netty.NettyAcceptorFactory</factory-class> + <factory-class>org.apache.activemq.core.remoting.impl.netty.NettyAcceptorFactory</factory-class> <param key="port" value="5446"/> </acceptor> </acceptors> http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/browser/pom.xml ---------------------------------------------------------------------- diff --git a/examples/jms/browser/pom.xml b/examples/jms/browser/pom.xml index a6b96c4..9d23336 100644 --- a/examples/jms/browser/pom.xml +++ b/examples/jms/browser/pom.xml @@ -3,19 +3,19 @@ <modelVersion>4.0.0</modelVersion> <parent> - <groupId>org.apache.activemq6.examples.jms</groupId> + <groupId>org.apache.activemq.examples.jms</groupId> <artifactId>jms-examples</artifactId> <version>6.0.0-SNAPSHOT</version> </parent> - <artifactId>activemq6-jms-browser-example</artifactId> + <artifactId>activemq-jms-browser-example</artifactId> <packaging>jar</packaging> <name>ActiveMQ6 JMS Browser Example</name> <dependencies> <dependency> - <groupId>org.apache.activemq6.examples.jms</groupId> - <artifactId>activemq6-jms-examples-common</artifactId> + <groupId>org.apache.activemq.examples.jms</groupId> + <artifactId>activemq-jms-examples-common</artifactId> <version>${project.version}</version> </dependency> <dependency> @@ -27,8 +27,8 @@ <build> <plugins> <plugin> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-maven-plugin</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-maven-plugin</artifactId> <executions> <execution> <id>start</id> @@ -42,7 +42,7 @@ <goal>runClient</goal> </goals> <configuration> - <clientClass>org.apache.activemq6.jms.example.QueueBrowserExample</clientClass> + <clientClass>org.apache.activemq.jms.example.QueueBrowserExample</clientClass> <args> <param>jnp://localhost:1099</param> </args> @@ -57,28 +57,28 @@ </executions> <dependencies> <dependency> - <groupId>org.apache.activemq6.examples.jms</groupId> - <artifactId>activemq6-jms-browser-example</artifactId> + <groupId>org.apache.activemq.examples.jms</groupId> + <artifactId>activemq-jms-browser-example</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-core-client</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-core-client</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-server</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-server</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-jms-client</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-jms-client</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-jms-server</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-jms-server</artifactId> <version>${project.version}</version> </dependency> <dependency> http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/browser/src/main/java/org/apache/activemq/jms/example/QueueBrowserExample.java ---------------------------------------------------------------------- diff --git a/examples/jms/browser/src/main/java/org/apache/activemq/jms/example/QueueBrowserExample.java b/examples/jms/browser/src/main/java/org/apache/activemq/jms/example/QueueBrowserExample.java index 94caf83..30f248b 100644 --- a/examples/jms/browser/src/main/java/org/apache/activemq/jms/example/QueueBrowserExample.java +++ b/examples/jms/browser/src/main/java/org/apache/activemq/jms/example/QueueBrowserExample.java @@ -10,7 +10,7 @@ * implied. See the License for the specific language governing * permissions and limitations under the License. */ -package org.apache.activemq6.jms.example; +package org.apache.activemq.jms.example; import java.util.Enumeration; @@ -24,7 +24,7 @@ import javax.jms.Session; import javax.jms.TextMessage; import javax.naming.InitialContext; -import org.apache.activemq6.common.example.HornetQExample; +import org.apache.activemq.common.example.HornetQExample; /** * A simple example which shows how to use a QueueBrowser to look at messages of a queue without removing them from the queue http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/browser/src/main/resources/hornetq/server0/hornetq-configuration.xml ---------------------------------------------------------------------- diff --git a/examples/jms/browser/src/main/resources/hornetq/server0/hornetq-configuration.xml b/examples/jms/browser/src/main/resources/hornetq/server0/hornetq-configuration.xml index 6c12028..73d313b 100644 --- a/examples/jms/browser/src/main/resources/hornetq/server0/hornetq-configuration.xml +++ b/examples/jms/browser/src/main/resources/hornetq/server0/hornetq-configuration.xml @@ -14,14 +14,14 @@ <connectors> <connector name="netty-connector"> - <factory-class>org.apache.activemq6.core.remoting.impl.netty.NettyConnectorFactory</factory-class> + <factory-class>org.apache.activemq.core.remoting.impl.netty.NettyConnectorFactory</factory-class> </connector> </connectors> <!-- Acceptors --> <acceptors> <acceptor name="netty-acceptor"> - <factory-class>org.apache.activemq6.core.remoting.impl.netty.NettyAcceptorFactory</factory-class> + <factory-class>org.apache.activemq.core.remoting.impl.netty.NettyAcceptorFactory</factory-class> </acceptor> </acceptors> http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/client-kickoff/pom.xml ---------------------------------------------------------------------- diff --git a/examples/jms/client-kickoff/pom.xml b/examples/jms/client-kickoff/pom.xml index c8ea616..7cc84d8 100644 --- a/examples/jms/client-kickoff/pom.xml +++ b/examples/jms/client-kickoff/pom.xml @@ -3,24 +3,24 @@ <modelVersion>4.0.0</modelVersion> <parent> - <groupId>org.apache.activemq6.examples.jms</groupId> + <groupId>org.apache.activemq.examples.jms</groupId> <artifactId>jms-examples</artifactId> <version>6.0.0-SNAPSHOT</version> </parent> - <artifactId>activemq6-jms-client-kickoff-example</artifactId> + <artifactId>activemq-jms-client-kickoff-example</artifactId> <packaging>jar</packaging> <name>ActiveMQ6 JMS Kick Off Example</name> <dependencies> <dependency> - <groupId>org.apache.activemq6.examples.jms</groupId> - <artifactId>activemq6-jms-examples-common</artifactId> + <groupId>org.apache.activemq.examples.jms</groupId> + <artifactId>activemq-jms-examples-common</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-core-client</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-core-client</artifactId> <version>${project.version}</version> </dependency> <dependency> @@ -32,8 +32,8 @@ <build> <plugins> <plugin> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-maven-plugin</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-maven-plugin</artifactId> <executions> <execution> <id>start</id> @@ -73,7 +73,7 @@ <goal>runClient</goal> </goals> <configuration> - <clientClass>org.apache.activemq6.jms.example.ClientKickoffExample</clientClass> + <clientClass>org.apache.activemq.jms.example.ClientKickoffExample</clientClass> <args> <param>jnp://localhost:1099</param> </args> @@ -88,28 +88,28 @@ </executions> <dependencies> <dependency> - <groupId>org.apache.activemq6.examples.jms</groupId> - <artifactId>activemq6-jms-client-kickoff-example</artifactId> + <groupId>org.apache.activemq.examples.jms</groupId> + <artifactId>activemq-jms-client-kickoff-example</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-core-client</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-core-client</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-server</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-server</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-jms-client</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-jms-client</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-jms-server</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-jms-server</artifactId> <version>${project.version}</version> </dependency> <dependency> http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/client-kickoff/readme.html ---------------------------------------------------------------------- diff --git a/examples/jms/client-kickoff/readme.html b/examples/jms/client-kickoff/readme.html index a74cbc0..3fea2cd 100644 --- a/examples/jms/client-kickoff/readme.html +++ b/examples/jms/client-kickoff/readme.html @@ -97,9 +97,9 @@ <p>Warnings be displayed on the server output:</p> <pre class="prettyprint"> - <code>org.apache.activemq6.jms.example.SpawnedJMSServer out:11:22:33,034 WARN @RMI TCP Connection(3)-192.168.0.10 [RemotingConnectionImpl] Connection failure has been detected connections for /192.168.0.10:52707 closed by management:0 - org.apache.activemq6.jms.example.SpawnedJMSServer out:11:22:33,035 WARN @RMI TCP Connection(3)-192.168.0.10 [ServerSessionImpl] Client connection failed, clearing up resources for session 4646da35-2fe8-11de-9ce9-752ccc2b26e4 - org.apache.activemq6.jms.example.SpawnedJMSServer out:11:22:33,035 WARN @RMI TCP Connection(3)-192.168.0.10 [ServerSessionImpl] Cleared up resources for session 4646da35-2fe8-11de-9ce9-752ccc2b26e4 + <code>org.apache.activemq.jms.example.SpawnedJMSServer out:11:22:33,034 WARN @RMI TCP Connection(3)-192.168.0.10 [RemotingConnectionImpl] Connection failure has been detected connections for /192.168.0.10:52707 closed by management:0 + org.apache.activemq.jms.example.SpawnedJMSServer out:11:22:33,035 WARN @RMI TCP Connection(3)-192.168.0.10 [ServerSessionImpl] Client connection failed, clearing up resources for session 4646da35-2fe8-11de-9ce9-752ccc2b26e4 + org.apache.activemq.jms.example.SpawnedJMSServer out:11:22:33,035 WARN @RMI TCP Connection(3)-192.168.0.10 [ServerSessionImpl] Cleared up resources for session 4646da35-2fe8-11de-9ce9-752ccc2b26e4 </code> </pre> http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/client-kickoff/src/main/java/org/apache/activemq/jms/example/ClientKickoffExample.java ---------------------------------------------------------------------- diff --git a/examples/jms/client-kickoff/src/main/java/org/apache/activemq/jms/example/ClientKickoffExample.java b/examples/jms/client-kickoff/src/main/java/org/apache/activemq/jms/example/ClientKickoffExample.java index c850957..36a5426 100644 --- a/examples/jms/client-kickoff/src/main/java/org/apache/activemq/jms/example/ClientKickoffExample.java +++ b/examples/jms/client-kickoff/src/main/java/org/apache/activemq/jms/example/ClientKickoffExample.java @@ -10,7 +10,7 @@ * implied. See the License for the specific language governing * permissions and limitations under the License. */ -package org.apache.activemq6.jms.example; +package org.apache.activemq.jms.example; import java.util.HashMap; import java.util.concurrent.atomic.AtomicReference; @@ -27,9 +27,9 @@ import javax.management.remote.JMXConnectorFactory; import javax.management.remote.JMXServiceURL; import javax.naming.InitialContext; -import org.apache.activemq6.api.core.management.HornetQServerControl; -import org.apache.activemq6.api.core.management.ObjectNameBuilder; -import org.apache.activemq6.common.example.HornetQExample; +import org.apache.activemq.api.core.management.HornetQServerControl; +import org.apache.activemq.api.core.management.ObjectNameBuilder; +import org.apache.activemq.common.example.HornetQExample; /** * An example that shows how to kick off a client connected to HornetQ by using JMX. http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/client-kickoff/src/main/resources/hornetq/server0/hornetq-configuration.xml ---------------------------------------------------------------------- diff --git a/examples/jms/client-kickoff/src/main/resources/hornetq/server0/hornetq-configuration.xml b/examples/jms/client-kickoff/src/main/resources/hornetq/server0/hornetq-configuration.xml index 10a1c3e..860bedf 100644 --- a/examples/jms/client-kickoff/src/main/resources/hornetq/server0/hornetq-configuration.xml +++ b/examples/jms/client-kickoff/src/main/resources/hornetq/server0/hornetq-configuration.xml @@ -16,14 +16,14 @@ <!-- Connectors --> <connectors> <connector name="netty"> - <factory-class>org.apache.activemq6.core.remoting.impl.netty.NettyConnectorFactory</factory-class> + <factory-class>org.apache.activemq.core.remoting.impl.netty.NettyConnectorFactory</factory-class> </connector> </connectors> <!-- Acceptors --> <acceptors> <acceptor name="netty"> - <factory-class>org.apache.activemq6.core.remoting.impl.netty.NettyAcceptorFactory</factory-class> + <factory-class>org.apache.activemq.core.remoting.impl.netty.NettyAcceptorFactory</factory-class> </acceptor> </acceptors> http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/client-side-failoverlistener/pom.xml ---------------------------------------------------------------------- diff --git a/examples/jms/client-side-failoverlistener/pom.xml b/examples/jms/client-side-failoverlistener/pom.xml index b160244..1264e48 100644 --- a/examples/jms/client-side-failoverlistener/pom.xml +++ b/examples/jms/client-side-failoverlistener/pom.xml @@ -3,19 +3,19 @@ <modelVersion>4.0.0</modelVersion> <parent> - <groupId>org.apache.activemq6.examples.jms</groupId> + <groupId>org.apache.activemq.examples.jms</groupId> <artifactId>jms-examples</artifactId> <version>6.0.0-SNAPSHOT</version> </parent> - <artifactId>activemq6-jms-client-side-fileoverlistener-example</artifactId> + <artifactId>activemq-jms-client-side-fileoverlistener-example</artifactId> <packaging>jar</packaging> <name>ActiveMQ6 JMS Client Side Failover listener Example</name> <dependencies> <dependency> - <groupId>org.apache.activemq6.examples.jms</groupId> - <artifactId>activemq6-jms-examples-common</artifactId> + <groupId>org.apache.activemq.examples.jms</groupId> + <artifactId>activemq-jms-examples-common</artifactId> <version>${project.version}</version> </dependency> <dependency> @@ -27,8 +27,8 @@ <build> <plugins> <plugin> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-maven-plugin</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-maven-plugin</artifactId> <executions> <execution> <id>start0</id> @@ -78,7 +78,7 @@ <goal>runClient</goal> </goals> <configuration> - <clientClass>org.apache.activemq6.jms.example.ClientSideFailoverListerExample</clientClass> + <clientClass>org.apache.activemq.jms.example.ClientSideFailoverListerExample</clientClass> <args> <param>jnp://localhost:1099</param> <param>jnp://localhost:1199</param> @@ -112,28 +112,28 @@ </executions> <dependencies> <dependency> - <groupId>org.apache.activemq6.examples.jms</groupId> - <artifactId>activemq6-jms-client-side-fileoverlistener-example</artifactId> + <groupId>org.apache.activemq.examples.jms</groupId> + <artifactId>activemq-jms-client-side-fileoverlistener-example</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-core-client</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-core-client</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-server</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-server</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-jms-client</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-jms-client</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-jms-server</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-jms-server</artifactId> <version>${project.version}</version> </dependency> <dependency> http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/client-side-failoverlistener/src/main/java/org/apache/activemq/jms/example/ClientSideFailoverListerExample.java ---------------------------------------------------------------------- diff --git a/examples/jms/client-side-failoverlistener/src/main/java/org/apache/activemq/jms/example/ClientSideFailoverListerExample.java b/examples/jms/client-side-failoverlistener/src/main/java/org/apache/activemq/jms/example/ClientSideFailoverListerExample.java index 2b818f7..55af2e3 100644 --- a/examples/jms/client-side-failoverlistener/src/main/java/org/apache/activemq/jms/example/ClientSideFailoverListerExample.java +++ b/examples/jms/client-side-failoverlistener/src/main/java/org/apache/activemq/jms/example/ClientSideFailoverListerExample.java @@ -10,7 +10,7 @@ * implied. See the License for the specific language governing * permissions and limitations under the License. */ -package org.apache.activemq6.jms.example; +package org.apache.activemq.jms.example; import javax.jms.Connection; import javax.jms.ConnectionFactory; @@ -21,10 +21,10 @@ import javax.jms.Session; import javax.jms.TextMessage; import javax.naming.InitialContext; -import org.apache.activemq6.api.core.client.FailoverEventListener; -import org.apache.activemq6.api.core.client.FailoverEventType; -import org.apache.activemq6.common.example.HornetQExample; -import org.apache.activemq6.jms.client.HornetQConnection; +import org.apache.activemq.api.core.client.FailoverEventListener; +import org.apache.activemq.api.core.client.FailoverEventType; +import org.apache.activemq.common.example.HornetQExample; +import org.apache.activemq.jms.client.HornetQConnection; /** * This example demonstrates how you can listen on failover event on the client side http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/client-side-failoverlistener/src/main/resources/hornetq/server0/hornetq-configuration.xml ---------------------------------------------------------------------- diff --git a/examples/jms/client-side-failoverlistener/src/main/resources/hornetq/server0/hornetq-configuration.xml b/examples/jms/client-side-failoverlistener/src/main/resources/hornetq/server0/hornetq-configuration.xml index 9e3416f..20ab28e 100644 --- a/examples/jms/client-side-failoverlistener/src/main/resources/hornetq/server0/hornetq-configuration.xml +++ b/examples/jms/client-side-failoverlistener/src/main/resources/hornetq/server0/hornetq-configuration.xml @@ -19,7 +19,7 @@ <!-- Connectors --> <connectors> <connector name="netty-connector"> - <factory-class>org.apache.activemq6.core.remoting.impl.netty.NettyConnectorFactory</factory-class> + <factory-class>org.apache.activemq.core.remoting.impl.netty.NettyConnectorFactory</factory-class> <param key="port" value="5445"/> </connector> </connectors> @@ -27,7 +27,7 @@ <!-- Acceptors --> <acceptors> <acceptor name="netty-acceptor"> - <factory-class>org.apache.activemq6.core.remoting.impl.netty.NettyAcceptorFactory</factory-class> + <factory-class>org.apache.activemq.core.remoting.impl.netty.NettyAcceptorFactory</factory-class> <param key="port" value="5445"/> </acceptor> </acceptors> http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/client-side-failoverlistener/src/main/resources/hornetq/server1/hornetq-configuration.xml ---------------------------------------------------------------------- diff --git a/examples/jms/client-side-failoverlistener/src/main/resources/hornetq/server1/hornetq-configuration.xml b/examples/jms/client-side-failoverlistener/src/main/resources/hornetq/server1/hornetq-configuration.xml index 2443b81..5628d43 100644 --- a/examples/jms/client-side-failoverlistener/src/main/resources/hornetq/server1/hornetq-configuration.xml +++ b/examples/jms/client-side-failoverlistener/src/main/resources/hornetq/server1/hornetq-configuration.xml @@ -19,7 +19,7 @@ <!-- Connectors --> <connectors> <connector name="netty-connector"> - <factory-class>org.apache.activemq6.core.remoting.impl.netty.NettyConnectorFactory</factory-class> + <factory-class>org.apache.activemq.core.remoting.impl.netty.NettyConnectorFactory</factory-class> <param key="port" value="5446"/> </connector> </connectors> @@ -27,7 +27,7 @@ <!-- Acceptors --> <acceptors> <acceptor name="netty-acceptor"> - <factory-class>org.apache.activemq6.core.remoting.impl.netty.NettyAcceptorFactory</factory-class> + <factory-class>org.apache.activemq.core.remoting.impl.netty.NettyAcceptorFactory</factory-class> <param key="port" value="5446"/> </acceptor> </acceptors> http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/client-side-load-balancing/pom.xml ---------------------------------------------------------------------- diff --git a/examples/jms/client-side-load-balancing/pom.xml b/examples/jms/client-side-load-balancing/pom.xml index f94722d..bc09a2b 100644 --- a/examples/jms/client-side-load-balancing/pom.xml +++ b/examples/jms/client-side-load-balancing/pom.xml @@ -3,19 +3,19 @@ <modelVersion>4.0.0</modelVersion> <parent> - <groupId>org.apache.activemq6.examples.jms</groupId> + <groupId>org.apache.activemq.examples.jms</groupId> <artifactId>jms-examples</artifactId> <version>6.0.0-SNAPSHOT</version> </parent> - <artifactId>activemq6-jms-client-side-load-balancing-example</artifactId> + <artifactId>activemq-jms-client-side-load-balancing-example</artifactId> <packaging>jar</packaging> <name>ActiveMQ6 JMS Client Side Load Balancing Example</name> <dependencies> <dependency> - <groupId>org.apache.activemq6.examples.jms</groupId> - <artifactId>activemq6-jms-examples-common</artifactId> + <groupId>org.apache.activemq.examples.jms</groupId> + <artifactId>activemq-jms-examples-common</artifactId> <version>${project.version}</version> </dependency> <dependency> @@ -27,8 +27,8 @@ <build> <plugins> <plugin> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-maven-plugin</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-maven-plugin</artifactId> <executions> <execution> <id>start0</id> @@ -99,7 +99,7 @@ <goal>runClient</goal> </goals> <configuration> - <clientClass>org.apache.activemq6.jms.example.ClientSideLoadBalancingExample</clientClass> + <clientClass>org.apache.activemq.jms.example.ClientSideLoadBalancingExample</clientClass> <args> <param>jnp://localhost:1099</param> <param>jnp://localhost:1199</param> @@ -142,28 +142,28 @@ </executions> <dependencies> <dependency> - <groupId>org.apache.activemq6.examples.jms</groupId> - <artifactId>activemq6-jms-client-side-load-balancing-example</artifactId> + <groupId>org.apache.activemq.examples.jms</groupId> + <artifactId>activemq-jms-client-side-load-balancing-example</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-core-client</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-core-client</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-server</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-server</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-jms-client</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-jms-client</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-jms-server</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-jms-server</artifactId> <version>${project.version}</version> </dependency> <dependency> http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/client-side-load-balancing/src/main/java/org/apache/activemq/jms/example/ClientSideLoadBalancingExample.java ---------------------------------------------------------------------- diff --git a/examples/jms/client-side-load-balancing/src/main/java/org/apache/activemq/jms/example/ClientSideLoadBalancingExample.java b/examples/jms/client-side-load-balancing/src/main/java/org/apache/activemq/jms/example/ClientSideLoadBalancingExample.java index 18ae120..bc68b39 100644 --- a/examples/jms/client-side-load-balancing/src/main/java/org/apache/activemq/jms/example/ClientSideLoadBalancingExample.java +++ b/examples/jms/client-side-load-balancing/src/main/java/org/apache/activemq/jms/example/ClientSideLoadBalancingExample.java @@ -10,7 +10,7 @@ * implied. See the License for the specific language governing * permissions and limitations under the License. */ -package org.apache.activemq6.jms.example; +package org.apache.activemq.jms.example; import javax.jms.Connection; import javax.jms.ConnectionFactory; @@ -22,7 +22,7 @@ import javax.jms.Session; import javax.jms.TextMessage; import javax.naming.InitialContext; -import org.apache.activemq6.common.example.HornetQExample; +import org.apache.activemq.common.example.HornetQExample; /** * This example demonstrates how sessions created from a single connection can be load @@ -75,9 +75,9 @@ public class ClientSideLoadBalancingExample extends HornetQExample Session sessionB = connectionB.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessionC = connectionC.createSession(false, Session.AUTO_ACKNOWLEDGE); - System.out.println("Session A - " + ((org.apache.activemq6.core.client.impl.DelegatingSession) ((org.apache.activemq6.jms.client.HornetQSession) sessionA).getCoreSession()).getConnection().getRemoteAddress() ); - System.out.println("Session B - " + ((org.apache.activemq6.core.client.impl.DelegatingSession) ((org.apache.activemq6.jms.client.HornetQSession) sessionB).getCoreSession()).getConnection().getRemoteAddress() ); - System.out.println("Session C - " + ((org.apache.activemq6.core.client.impl.DelegatingSession) ((org.apache.activemq6.jms.client.HornetQSession) sessionC).getCoreSession()).getConnection().getRemoteAddress() ); + System.out.println("Session A - " + ((org.apache.activemq.core.client.impl.DelegatingSession) ((org.apache.activemq.jms.client.HornetQSession) sessionA).getCoreSession()).getConnection().getRemoteAddress() ); + System.out.println("Session B - " + ((org.apache.activemq.core.client.impl.DelegatingSession) ((org.apache.activemq.jms.client.HornetQSession) sessionB).getCoreSession()).getConnection().getRemoteAddress() ); + System.out.println("Session C - " + ((org.apache.activemq.core.client.impl.DelegatingSession) ((org.apache.activemq.jms.client.HornetQSession) sessionC).getCoreSession()).getConnection().getRemoteAddress() ); // Step 6. We create JMS MessageProducer objects on the sessions MessageProducer producerA = sessionA.createProducer(queue); http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/client-side-load-balancing/src/main/resources/hornetq/server0/hornetq-configuration.xml ---------------------------------------------------------------------- diff --git a/examples/jms/client-side-load-balancing/src/main/resources/hornetq/server0/hornetq-configuration.xml b/examples/jms/client-side-load-balancing/src/main/resources/hornetq/server0/hornetq-configuration.xml index 55a2566..b3d7d41 100644 --- a/examples/jms/client-side-load-balancing/src/main/resources/hornetq/server0/hornetq-configuration.xml +++ b/examples/jms/client-side-load-balancing/src/main/resources/hornetq/server0/hornetq-configuration.xml @@ -15,7 +15,7 @@ <connectors> <connector name="netty-connector"> - <factory-class>org.apache.activemq6.core.remoting.impl.netty.NettyConnectorFactory</factory-class> + <factory-class>org.apache.activemq.core.remoting.impl.netty.NettyConnectorFactory</factory-class> <param key="port" value="5445"/> </connector> </connectors> @@ -23,7 +23,7 @@ <!-- Acceptors --> <acceptors> <acceptor name="netty-acceptor"> - <factory-class>org.apache.activemq6.core.remoting.impl.netty.NettyAcceptorFactory</factory-class> + <factory-class>org.apache.activemq.core.remoting.impl.netty.NettyAcceptorFactory</factory-class> <param key="port" value="5445"/> </acceptor> </acceptors> http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/client-side-load-balancing/src/main/resources/hornetq/server1/hornetq-configuration.xml ---------------------------------------------------------------------- diff --git a/examples/jms/client-side-load-balancing/src/main/resources/hornetq/server1/hornetq-configuration.xml b/examples/jms/client-side-load-balancing/src/main/resources/hornetq/server1/hornetq-configuration.xml index e20c762..c9b9d76 100644 --- a/examples/jms/client-side-load-balancing/src/main/resources/hornetq/server1/hornetq-configuration.xml +++ b/examples/jms/client-side-load-balancing/src/main/resources/hornetq/server1/hornetq-configuration.xml @@ -15,7 +15,7 @@ <!-- Connectors --> <connectors> <connector name="netty-connector"> - <factory-class>org.apache.activemq6.core.remoting.impl.netty.NettyConnectorFactory</factory-class> + <factory-class>org.apache.activemq.core.remoting.impl.netty.NettyConnectorFactory</factory-class> <param key="port" value="5446"/> </connector> </connectors> @@ -23,7 +23,7 @@ <!-- Acceptors --> <acceptors> <acceptor name="netty-acceptor"> - <factory-class>org.apache.activemq6.core.remoting.impl.netty.NettyAcceptorFactory</factory-class> + <factory-class>org.apache.activemq.core.remoting.impl.netty.NettyAcceptorFactory</factory-class> <param key="port" value="5446"/> </acceptor> </acceptors> http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/client-side-load-balancing/src/main/resources/hornetq/server2/hornetq-configuration.xml ---------------------------------------------------------------------- diff --git a/examples/jms/client-side-load-balancing/src/main/resources/hornetq/server2/hornetq-configuration.xml b/examples/jms/client-side-load-balancing/src/main/resources/hornetq/server2/hornetq-configuration.xml index f1c9ae3..d78acb2 100644 --- a/examples/jms/client-side-load-balancing/src/main/resources/hornetq/server2/hornetq-configuration.xml +++ b/examples/jms/client-side-load-balancing/src/main/resources/hornetq/server2/hornetq-configuration.xml @@ -15,7 +15,7 @@ <!-- Connectors --> <connectors> <connector name="netty-connector"> - <factory-class>org.apache.activemq6.core.remoting.impl.netty.NettyConnectorFactory</factory-class> + <factory-class>org.apache.activemq.core.remoting.impl.netty.NettyConnectorFactory</factory-class> <param key="port" value="5447"/> </connector> </connectors> @@ -23,7 +23,7 @@ <!-- Acceptors --> <acceptors> <acceptor name="netty-acceptor"> - <factory-class>org.apache.activemq6.core.remoting.impl.netty.NettyAcceptorFactory</factory-class> + <factory-class>org.apache.activemq.core.remoting.impl.netty.NettyAcceptorFactory</factory-class> <param key="port" value="5447"/> </acceptor> </acceptors> http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/clustered-durable-subscription/pom.xml ---------------------------------------------------------------------- diff --git a/examples/jms/clustered-durable-subscription/pom.xml b/examples/jms/clustered-durable-subscription/pom.xml index f406fe8..963bc8d 100644 --- a/examples/jms/clustered-durable-subscription/pom.xml +++ b/examples/jms/clustered-durable-subscription/pom.xml @@ -3,19 +3,19 @@ <modelVersion>4.0.0</modelVersion> <parent> - <groupId>org.apache.activemq6.examples.jms</groupId> + <groupId>org.apache.activemq.examples.jms</groupId> <artifactId>jms-examples</artifactId> <version>6.0.0-SNAPSHOT</version> </parent> - <artifactId>activemq6-jms-clustered-durable-subscription-example</artifactId> + <artifactId>activemq-jms-clustered-durable-subscription-example</artifactId> <packaging>jar</packaging> <name>ActiveMQ6 JMS Clustered Durable Subscription Example</name> <dependencies> <dependency> - <groupId>org.apache.activemq6.examples.jms</groupId> - <artifactId>activemq6-jms-examples-common</artifactId> + <groupId>org.apache.activemq.examples.jms</groupId> + <artifactId>activemq-jms-examples-common</artifactId> <version>${project.version}</version> </dependency> <dependency> @@ -27,8 +27,8 @@ <build> <plugins> <plugin> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-maven-plugin</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-maven-plugin</artifactId> <executions> <execution> <id>start0</id> @@ -77,7 +77,7 @@ <goal>runClient</goal> </goals> <configuration> - <clientClass>org.apache.activemq6.jms.example.ClusteredDurableSubscriptionExample</clientClass> + <clientClass>org.apache.activemq.jms.example.ClusteredDurableSubscriptionExample</clientClass> <args> <param>jnp://localhost:1099</param> <param>jnp://localhost:1199</param> @@ -111,28 +111,28 @@ </executions> <dependencies> <dependency> - <groupId>org.apache.activemq6.examples.jms</groupId> - <artifactId>activemq6-jms-clustered-durable-subscription-example</artifactId> + <groupId>org.apache.activemq.examples.jms</groupId> + <artifactId>activemq-jms-clustered-durable-subscription-example</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-core-client</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-core-client</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-server</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-server</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-jms-client</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-jms-client</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-jms-server</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-jms-server</artifactId> <version>${project.version}</version> </dependency> <dependency> http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/clustered-durable-subscription/src/main/java/org/apache/activemq/jms/example/ClusteredDurableSubscriptionExample.java ---------------------------------------------------------------------- diff --git a/examples/jms/clustered-durable-subscription/src/main/java/org/apache/activemq/jms/example/ClusteredDurableSubscriptionExample.java b/examples/jms/clustered-durable-subscription/src/main/java/org/apache/activemq/jms/example/ClusteredDurableSubscriptionExample.java index 60fb1fc..c524059 100644 --- a/examples/jms/clustered-durable-subscription/src/main/java/org/apache/activemq/jms/example/ClusteredDurableSubscriptionExample.java +++ b/examples/jms/clustered-durable-subscription/src/main/java/org/apache/activemq/jms/example/ClusteredDurableSubscriptionExample.java @@ -10,7 +10,7 @@ * implied. See the License for the specific language governing * permissions and limitations under the License. */ -package org.apache.activemq6.jms.example; +package org.apache.activemq.jms.example; import javax.jms.Connection; import javax.jms.ConnectionFactory; @@ -21,7 +21,7 @@ import javax.jms.TextMessage; import javax.jms.Topic; import javax.naming.InitialContext; -import org.apache.activemq6.common.example.HornetQExample; +import org.apache.activemq.common.example.HornetQExample; /** * A simple example that shows a JMS Durable Subscription across two nodes of a cluster. http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/clustered-durable-subscription/src/main/resources/hornetq/server0/hornetq-configuration.xml ---------------------------------------------------------------------- diff --git a/examples/jms/clustered-durable-subscription/src/main/resources/hornetq/server0/hornetq-configuration.xml b/examples/jms/clustered-durable-subscription/src/main/resources/hornetq/server0/hornetq-configuration.xml index ae97bcf..7591606 100644 --- a/examples/jms/clustered-durable-subscription/src/main/resources/hornetq/server0/hornetq-configuration.xml +++ b/examples/jms/clustered-durable-subscription/src/main/resources/hornetq/server0/hornetq-configuration.xml @@ -15,7 +15,7 @@ <!-- Connectors --> <connectors> <connector name="netty-connector"> - <factory-class>org.apache.activemq6.core.remoting.impl.netty.NettyConnectorFactory</factory-class> + <factory-class>org.apache.activemq.core.remoting.impl.netty.NettyConnectorFactory</factory-class> <param key="port" value="5445"/> </connector> </connectors> @@ -23,7 +23,7 @@ <!-- Acceptors --> <acceptors> <acceptor name="netty-acceptor"> - <factory-class>org.apache.activemq6.core.remoting.impl.netty.NettyAcceptorFactory</factory-class> + <factory-class>org.apache.activemq.core.remoting.impl.netty.NettyAcceptorFactory</factory-class> <param key="port" value="5445"/> </acceptor> </acceptors> http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/clustered-durable-subscription/src/main/resources/hornetq/server1/hornetq-configuration.xml ---------------------------------------------------------------------- diff --git a/examples/jms/clustered-durable-subscription/src/main/resources/hornetq/server1/hornetq-configuration.xml b/examples/jms/clustered-durable-subscription/src/main/resources/hornetq/server1/hornetq-configuration.xml index a5f78b4..b6b8774 100644 --- a/examples/jms/clustered-durable-subscription/src/main/resources/hornetq/server1/hornetq-configuration.xml +++ b/examples/jms/clustered-durable-subscription/src/main/resources/hornetq/server1/hornetq-configuration.xml @@ -15,7 +15,7 @@ <!-- Connectors --> <connectors> <connector name="netty-connector"> - <factory-class>org.apache.activemq6.core.remoting.impl.netty.NettyConnectorFactory</factory-class> + <factory-class>org.apache.activemq.core.remoting.impl.netty.NettyConnectorFactory</factory-class> <param key="port" value="5446"/> </connector> </connectors> @@ -23,7 +23,7 @@ <!-- Acceptors --> <acceptors> <acceptor name="netty-acceptor"> - <factory-class>org.apache.activemq6.core.remoting.impl.netty.NettyAcceptorFactory</factory-class> + <factory-class>org.apache.activemq.core.remoting.impl.netty.NettyAcceptorFactory</factory-class> <param key="port" value="5446"/> </acceptor> </acceptors> http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/clustered-grouping/pom.xml ---------------------------------------------------------------------- diff --git a/examples/jms/clustered-grouping/pom.xml b/examples/jms/clustered-grouping/pom.xml index 6aaf57a..bcb9612 100644 --- a/examples/jms/clustered-grouping/pom.xml +++ b/examples/jms/clustered-grouping/pom.xml @@ -3,19 +3,19 @@ <modelVersion>4.0.0</modelVersion> <parent> - <groupId>org.apache.activemq6.examples.jms</groupId> + <groupId>org.apache.activemq.examples.jms</groupId> <artifactId>jms-examples</artifactId> <version>6.0.0-SNAPSHOT</version> </parent> - <artifactId>activemq6-jms-clustered-grouping-example</artifactId> + <artifactId>activemq-jms-clustered-grouping-example</artifactId> <packaging>jar</packaging> <name>ActiveMQ6 JMS CLustered Grouping Example</name> <dependencies> <dependency> - <groupId>org.apache.activemq6.examples.jms</groupId> - <artifactId>activemq6-jms-examples-common</artifactId> + <groupId>org.apache.activemq.examples.jms</groupId> + <artifactId>activemq-jms-examples-common</artifactId> <version>${project.version}</version> </dependency> <dependency> @@ -27,8 +27,8 @@ <build> <plugins> <plugin> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-maven-plugin</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-maven-plugin</artifactId> <executions> <execution> <id>start0</id> @@ -99,7 +99,7 @@ <goal>runClient</goal> </goals> <configuration> - <clientClass>org.apache.activemq6.jms.example.ClusteredGroupingExample</clientClass> + <clientClass>org.apache.activemq.jms.example.ClusteredGroupingExample</clientClass> <args> <param>jnp://localhost:1099</param> <param>jnp://localhost:1199</param> @@ -143,28 +143,28 @@ </executions> <dependencies> <dependency> - <groupId>org.apache.activemq6.examples.jms</groupId> - <artifactId>activemq6-jms-clustered-grouping-example</artifactId> + <groupId>org.apache.activemq.examples.jms</groupId> + <artifactId>activemq-jms-clustered-grouping-example</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-core-client</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-core-client</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-server</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-server</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-jms-client</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-jms-client</artifactId> <version>${project.version}</version> </dependency> <dependency> - <groupId>org.apache.activemq6</groupId> - <artifactId>activemq6-jms-server</artifactId> + <groupId>org.apache.activemq</groupId> + <artifactId>activemq-jms-server</artifactId> <version>${project.version}</version> </dependency> <dependency> http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/clustered-grouping/src/main/java/org/apache/activemq/jms/example/ClusteredGroupingExample.java ---------------------------------------------------------------------- diff --git a/examples/jms/clustered-grouping/src/main/java/org/apache/activemq/jms/example/ClusteredGroupingExample.java b/examples/jms/clustered-grouping/src/main/java/org/apache/activemq/jms/example/ClusteredGroupingExample.java index 3d101d7..4965aa4 100644 --- a/examples/jms/clustered-grouping/src/main/java/org/apache/activemq/jms/example/ClusteredGroupingExample.java +++ b/examples/jms/clustered-grouping/src/main/java/org/apache/activemq/jms/example/ClusteredGroupingExample.java @@ -10,7 +10,7 @@ * implied. See the License for the specific language governing * permissions and limitations under the License. */ -package org.apache.activemq6.jms.example; +package org.apache.activemq.jms.example; import javax.jms.Connection; import javax.jms.ConnectionFactory; @@ -21,7 +21,7 @@ import javax.jms.Session; import javax.jms.TextMessage; import javax.naming.InitialContext; -import org.apache.activemq6.common.example.HornetQExample; +import org.apache.activemq.common.example.HornetQExample; /** * A simple example that demonstrates server side load-balancing of messages between the queue instances on different http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/clustered-grouping/src/main/resources/hornetq/server0/hornetq-configuration.xml ---------------------------------------------------------------------- diff --git a/examples/jms/clustered-grouping/src/main/resources/hornetq/server0/hornetq-configuration.xml b/examples/jms/clustered-grouping/src/main/resources/hornetq/server0/hornetq-configuration.xml index bc6eaeb..79b585c 100644 --- a/examples/jms/clustered-grouping/src/main/resources/hornetq/server0/hornetq-configuration.xml +++ b/examples/jms/clustered-grouping/src/main/resources/hornetq/server0/hornetq-configuration.xml @@ -15,7 +15,7 @@ <connectors> <connector name="netty-connector"> - <factory-class>org.apache.activemq6.core.remoting.impl.netty.NettyConnectorFactory</factory-class> + <factory-class>org.apache.activemq.core.remoting.impl.netty.NettyConnectorFactory</factory-class> <param key="port" value="5445"/> </connector> </connectors> @@ -23,7 +23,7 @@ <!-- Acceptors --> <acceptors> <acceptor name="netty-acceptor"> - <factory-class>org.apache.activemq6.core.remoting.impl.netty.NettyAcceptorFactory</factory-class> + <factory-class>org.apache.activemq.core.remoting.impl.netty.NettyAcceptorFactory</factory-class> <param key="port" value="5445"/> </acceptor> </acceptors> http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/clustered-grouping/src/main/resources/hornetq/server1/hornetq-configuration.xml ---------------------------------------------------------------------- diff --git a/examples/jms/clustered-grouping/src/main/resources/hornetq/server1/hornetq-configuration.xml b/examples/jms/clustered-grouping/src/main/resources/hornetq/server1/hornetq-configuration.xml index 6b079c7..6a1136d 100644 --- a/examples/jms/clustered-grouping/src/main/resources/hornetq/server1/hornetq-configuration.xml +++ b/examples/jms/clustered-grouping/src/main/resources/hornetq/server1/hornetq-configuration.xml @@ -14,7 +14,7 @@ <!-- Connectors --> <connectors> <connector name="netty-connector"> - <factory-class>org.apache.activemq6.core.remoting.impl.netty.NettyConnectorFactory</factory-class> + <factory-class>org.apache.activemq.core.remoting.impl.netty.NettyConnectorFactory</factory-class> <param key="port" value="5446"/> </connector> </connectors> @@ -22,7 +22,7 @@ <!-- Acceptors --> <acceptors> <acceptor name="netty-acceptor"> - <factory-class>org.apache.activemq6.core.remoting.impl.netty.NettyAcceptorFactory</factory-class> + <factory-class>org.apache.activemq.core.remoting.impl.netty.NettyAcceptorFactory</factory-class> <param key="port" value="5446"/> </acceptor> </acceptors> http://git-wip-us.apache.org/repos/asf/activemq-6/blob/9a587c56/examples/jms/clustered-grouping/src/main/resources/hornetq/server2/hornetq-configuration.xml ---------------------------------------------------------------------- diff --git a/examples/jms/clustered-grouping/src/main/resources/hornetq/server2/hornetq-configuration.xml b/examples/jms/clustered-grouping/src/main/resources/hornetq/server2/hornetq-configuration.xml index 2251038..bead65d 100644 --- a/examples/jms/clustered-grouping/src/main/resources/hornetq/server2/hornetq-configuration.xml +++ b/examples/jms/clustered-grouping/src/main/resources/hornetq/server2/hornetq-configuration.xml @@ -14,7 +14,7 @@ <!-- Connectors --> <connectors> <connector name="netty-connector"> - <factory-class>org.apache.activemq6.core.remoting.impl.netty.NettyConnectorFactory</factory-class> + <factory-class>org.apache.activemq.core.remoting.impl.netty.NettyConnectorFactory</factory-class> <param key="port" value="5447"/> </connector> </connectors> @@ -22,7 +22,7 @@ <!-- Acceptors --> <acceptors> <acceptor name="netty-acceptor"> - <factory-class>org.apache.activemq6.core.remoting.impl.netty.NettyAcceptorFactory</factory-class> + <factory-class>org.apache.activemq.core.remoting.impl.netty.NettyAcceptorFactory</factory-class> <param key="port" value="5447"/> </acceptor> </acceptors>
