This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch exchange-factory
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/exchange-factory by this push:
     new f4f8788  CAMEL-16222: PooledExchangeFactory experiment
f4f8788 is described below

commit f4f8788b12180acbb0fadaa62afda6f3e04fcbf7
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Mon Feb 22 19:31:53 2021 +0100

    CAMEL-16222: PooledExchangeFactory experiment
---
 .../jbpm/server/CamelKieServerExtensionTest.java   | 45 ----------------------
 parent/pom.xml                                     |  2 +-
 2 files changed, 1 insertion(+), 46 deletions(-)

diff --git 
a/components/camel-jbpm/src/test/java/org/apache/camel/component/jbpm/server/CamelKieServerExtensionTest.java
 
b/components/camel-jbpm/src/test/java/org/apache/camel/component/jbpm/server/CamelKieServerExtensionTest.java
index 11ce11c..0b1a559 100644
--- 
a/components/camel-jbpm/src/test/java/org/apache/camel/component/jbpm/server/CamelKieServerExtensionTest.java
+++ 
b/components/camel-jbpm/src/test/java/org/apache/camel/component/jbpm/server/CamelKieServerExtensionTest.java
@@ -28,8 +28,6 @@ import org.jbpm.services.api.service.ServiceRegistry;
 import org.junit.jupiter.api.AfterEach;
 import org.junit.jupiter.api.Test;
 import org.junit.jupiter.api.extension.ExtendWith;
-import org.kie.api.KieServices;
-import org.kie.api.runtime.Environment;
 import org.kie.api.runtime.KieContainer;
 import org.kie.internal.runtime.manager.InternalRuntimeManager;
 import org.kie.internal.runtime.manager.RuntimeEnvironment;
@@ -154,47 +152,4 @@ public class CamelKieServerExtensionTest {
         assertNull(context);
     }
 
-    @Test
-    public void testBuildDeploymentCamelContext() throws Exception {
-
-        when(runtimeManager.getIdentifier()).thenReturn(identifier);
-        when(runtimeManager.getEnvironment()).thenReturn(runtimeEnvironment);
-
-        Environment environment = KieServices.get().newEnvironment();
-        when(runtimeEnvironment.getEnvironment()).thenReturn(environment);
-
-        RuntimeManagerRegistry.get().register(runtimeManager);
-
-        CamelKieServerExtension extension = new CamelKieServerExtension();
-        CamelContext context = extension.buildDeploymentContext(identifier, 
this.getClass().getClassLoader());
-        assertNotNull(context);
-
-        context.stop();
-    }
-
-    @Test
-    public void testBuildDeploymentCamelContextCustomBuilder() throws 
Exception {
-
-        when(runtimeManager.getIdentifier()).thenReturn(identifier);
-        when(runtimeManager.getEnvironment()).thenReturn(runtimeEnvironment);
-
-        Environment environment = KieServices.get().newEnvironment();
-        environment.set(JBPMConstants.CAMEL_CONTEXT_BUILDER_KEY, new 
CamelContextBuilder() {
-
-            @Override
-            public CamelContext buildCamelContext() {
-                // for test purpose return simply null as camel context
-                return null;
-            }
-
-        });
-        when(runtimeEnvironment.getEnvironment()).thenReturn(environment);
-
-        RuntimeManagerRegistry.get().register(runtimeManager);
-
-        CamelKieServerExtension extension = new CamelKieServerExtension();
-        CamelContext context = extension.buildDeploymentContext(identifier, 
this.getClass().getClassLoader());
-        assertNull(context);
-
-    }
 }
diff --git a/parent/pom.xml b/parent/pom.xml
index 53a962e..0a1e33a 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -294,7 +294,7 @@
         <glassfish-javax-json>1.0.4</glassfish-javax-json>
         <glassfish-jaxb-runtime-version>2.3.3</glassfish-jaxb-runtime-version>
         <jaxb2-maven-plugin-version>2.5.0</jaxb2-maven-plugin-version>
-        <jbpm-version>7.49.0.Final</jbpm-version>
+        <jbpm-version>7.50.0.Final</jbpm-version>
         
<jboss-el-api_3.0_spec-version>2.0.0.Final</jboss-el-api_3.0_spec-version>
         <jboss-logging-version>3.4.0.Final</jboss-logging-version>
         <jboss-marshalling-version>1.4.10.Final</jboss-marshalling-version>

Reply via email to