[camel] branch master updated: CAMEL-16020: Remove synchronous on default endpoint as its rarely in use.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[camel] branch master updated: CAMEL-16020: Remove synchronous on default endpoint as its rarely in use.

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

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


The following commit(s) were added to refs/heads/master by this push:
     new e6ed0ed  CAMEL-16020: Remove synchronous on default endpoint as its rarely in use.
e6ed0ed is described below

commit e6ed0ed2264ed899e5bcd4fcd1dcd0ab674bac14
Author: Claus Ibsen <[hidden email]>
AuthorDate: Thu Jan 14 13:16:49 2021 +0100

    CAMEL-16020: Remove synchronous on default endpoint as its rarely in use.
---
 .../component/quartz/cron/QuartzCronMappingTest.java     | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/components/camel-quartz/src/test/java/org/apache/camel/component/quartz/cron/QuartzCronMappingTest.java b/components/camel-quartz/src/test/java/org/apache/camel/component/quartz/cron/QuartzCronMappingTest.java
index f54b902..ab88f30 100644
--- a/components/camel-quartz/src/test/java/org/apache/camel/component/quartz/cron/QuartzCronMappingTest.java
+++ b/components/camel-quartz/src/test/java/org/apache/camel/component/quartz/cron/QuartzCronMappingTest.java
@@ -25,7 +25,6 @@ import org.apache.camel.component.quartz.QuartzEndpoint;
 import org.junit.jupiter.api.Test;
 
 import static org.junit.jupiter.api.Assertions.assertEquals;
-import static org.junit.jupiter.api.Assertions.assertFalse;
 
 public class QuartzCronMappingTest extends BaseQuartzTest {
 
@@ -57,21 +56,6 @@ public class QuartzCronMappingTest extends BaseQuartzTest {
         assertEquals("0/2 * * * * ?", getQuartzEndpoint(context.getRoute("cron")).getCron());
     }
 
-    @Test
-    public void testAdditionalProperties() throws Exception {
-        context.addRoutes(new RouteBuilder() {
-            @Override
-            public void configure() throws Exception {
-                from("cron://myName?schedule=0/2+*+*+*+*+?&deleteJob=false")
-                        .id("cron")
-                        .to("mock:result");
-            }
-        });
-        context.start();
-        assertEquals("0/2 * * * * ?", getQuartzEndpoint(context.getRoute("cron")).getCron());
-        assertFalse(getQuartzEndpoint(context.getRoute("cron")).isDeleteJob());
-    }
-
     private QuartzEndpoint getQuartzEndpoint(Route route) {
         Endpoint endpoint = route.getEndpoint();
         while (endpoint instanceof DelegateEndpoint) {