tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject tomee git commit: we use our own AMQ wrapper, fixing test
Date Wed, 06 Dec 2017 14:39:54 GMT
Repository: tomee
Updated Branches:
  refs/heads/master b071814bf -> ff5254f75


we use our own AMQ wrapper, fixing test


Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/ff5254f7
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/ff5254f7
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/ff5254f7

Branch: refs/heads/master
Commit: ff5254f75be43fe337fae5dc1b06211eb9264287
Parents: b071814
Author: Romain Manni-Bucau <rmannibucau@gmail.com>
Authored: Wed Dec 6 15:39:48 2017 +0100
Committer: Romain Manni-Bucau <rmannibucau@gmail.com>
Committed: Wed Dec 6 15:39:48 2017 +0100

----------------------------------------------------------------------
 .../test/java/org/apache/openejb/config/AppInfoBuilderTest.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/ff5254f7/container/openejb-core/src/test/java/org/apache/openejb/config/AppInfoBuilderTest.java
----------------------------------------------------------------------
diff --git a/container/openejb-core/src/test/java/org/apache/openejb/config/AppInfoBuilderTest.java
b/container/openejb-core/src/test/java/org/apache/openejb/config/AppInfoBuilderTest.java
index a58fd07..6a65694 100644
--- a/container/openejb-core/src/test/java/org/apache/openejb/config/AppInfoBuilderTest.java
+++ b/container/openejb-core/src/test/java/org/apache/openejb/config/AppInfoBuilderTest.java
@@ -17,7 +17,6 @@
 package org.apache.openejb.config;
 
 import junit.framework.TestCase;
-import org.apache.activemq.ra.ActiveMQActivationSpec;
 import org.apache.openejb.assembler.classic.AppInfo;
 import org.apache.openejb.assembler.classic.ContainerInfo;
 import org.apache.openejb.assembler.classic.EjbJarInfo;
@@ -30,6 +29,7 @@ import org.apache.openejb.jee.oejb2.AuthMethodType;
 import org.apache.openejb.jee.oejb2.TransportGuaranteeType;
 import org.apache.openejb.jee.oejb3.EjbDeployment;
 import org.apache.openejb.jee.oejb3.OpenejbJar;
+import org.apache.openejb.resource.activemq.TomEEMessageActivationSpec;
 
 import javax.jms.MessageListener;
 import java.util.List;
@@ -170,7 +170,7 @@ public class AppInfoBuilderTest extends TestCase {
         assertEquals(MdbContainer.class.getName(), containerInfo.className);
         assertEquals("Default JMS Resource Adapter", containerInfo.properties.get("ResourceAdapter"));
         assertEquals(MessageListener.class.getName(), containerInfo.properties.get("MessageListenerInterface"));
-        assertEquals(ActiveMQActivationSpec.class.getName(), containerInfo.properties.get("ActivationSpecClass"));
+        assertEquals(TomEEMessageActivationSpec.class.getName(), containerInfo.properties.get("ActivationSpecClass"));
         assertEquals("10", containerInfo.properties.get("InstanceLimit"));
         assertEquals("true", containerInfo.properties.get("FailOnUnknownActivationSpec"));
     }


Mime
View raw message