ACTIVEMQ6-4 - fix examples

https://issues.apache.org/jira/browse/ACTIVEMQ6-4

some of the examples were broken after the last refactoring.


Project: http://git-wip-us.apache.org/repos/asf/activemq-6/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-6/commit/07eac105
Tree: http://git-wip-us.apache.org/repos/asf/activemq-6/tree/07eac105
Diff: http://git-wip-us.apache.org/repos/asf/activemq-6/diff/07eac105

Branch: refs/heads/master
Commit: 07eac1057f4de62ea751247bec8e5fd7711d0403
Parents: 574c8fe
Author: Andy Taylor <andytay...@apache.org>
Authored: Tue Nov 18 09:15:53 2014 +0000
Committer: Andy Taylor <andytay...@apache.org>
Committed: Tue Nov 18 11:27:10 2014 +0000

----------------------------------------------------------------------
 .../apache/activemq/common/example/DummyXid.java  |  4 ++--
 .../activemq/common/example/HornetQExample.java   | 18 +++++++++---------
 2 files changed, 11 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-6/blob/07eac105/examples/jms/activemq-jms-examples-common/src/main/java/org/apache/activemq/common/example/DummyXid.java
----------------------------------------------------------------------
diff --git 
a/examples/jms/activemq-jms-examples-common/src/main/java/org/apache/activemq/common/example/DummyXid.java
 
b/examples/jms/activemq-jms-examples-common/src/main/java/org/apache/activemq/common/example/DummyXid.java
index dd4f38e..09e6704 100644
--- 
a/examples/jms/activemq-jms-examples-common/src/main/java/org/apache/activemq/common/example/DummyXid.java
+++ 
b/examples/jms/activemq-jms-examples-common/src/main/java/org/apache/activemq/common/example/DummyXid.java
@@ -10,11 +10,11 @@
  * implied.  See the License for the specific language governing
  * permissions and limitations under the License.
  */
-package org.apache.activemq6.common.example;
+package org.apache.activemq.common.example;
 
 import javax.transaction.xa.Xid;
 
-import org.apache.activemq6.utils.Base64;
+import org.apache.activemq.utils.Base64;
 
 /**
  * @author <a href="mailto:andy.tay...@jboss.org";>Andy Taylor</a>

http://git-wip-us.apache.org/repos/asf/activemq-6/blob/07eac105/examples/jms/activemq-jms-examples-common/src/main/java/org/apache/activemq/common/example/HornetQExample.java
----------------------------------------------------------------------
diff --git 
a/examples/jms/activemq-jms-examples-common/src/main/java/org/apache/activemq/common/example/HornetQExample.java
 
b/examples/jms/activemq-jms-examples-common/src/main/java/org/apache/activemq/common/example/HornetQExample.java
index 681229f..a7f1703 100644
--- 
a/examples/jms/activemq-jms-examples-common/src/main/java/org/apache/activemq/common/example/HornetQExample.java
+++ 
b/examples/jms/activemq-jms-examples-common/src/main/java/org/apache/activemq/common/example/HornetQExample.java
@@ -10,7 +10,7 @@
  * implied.  See the License for the specific language governing
  * permissions and limitations under the License.
  */
-package org.apache.activemq6.common.example;
+package org.apache.activemq.common.example;
 import java.io.File;
 import java.util.HashMap;
 import java.util.Properties;
@@ -20,14 +20,14 @@ import javax.jms.Connection;
 import javax.jms.JMSException;
 import javax.naming.InitialContext;
 
-import org.apache.activemq6.api.core.TransportConfiguration;
-import org.apache.activemq6.api.core.client.ClientSession;
-import org.apache.activemq6.api.jms.HornetQJMSClient;
-import org.apache.activemq6.api.jms.JMSFactoryType;
-import org.apache.activemq6.core.client.impl.DelegatingSession;
-import org.apache.activemq6.core.remoting.impl.netty.NettyConnectorFactory;
-import org.apache.activemq6.jms.client.HornetQConnection;
-import org.apache.activemq6.jms.client.HornetQConnectionFactory;
+import org.apache.activemq.api.core.TransportConfiguration;
+import org.apache.activemq.api.core.client.ClientSession;
+import org.apache.activemq.api.jms.HornetQJMSClient;
+import org.apache.activemq.api.jms.JMSFactoryType;
+import org.apache.activemq.core.client.impl.DelegatingSession;
+import org.apache.activemq.core.remoting.impl.netty.NettyConnectorFactory;
+import org.apache.activemq.jms.client.HornetQConnection;
+import org.apache.activemq.jms.client.HornetQConnectionFactory;
 
 /**
  * Base class for HornetQ examples.

Reply via email to