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

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot-examples.git


The following commit(s) were added to refs/heads/main by this push:
     new cc78663  Remove example
cc78663 is described below

commit cc7866363a2cd6abaf6a32eb180ca2ea0a183201
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Sun Nov 13 11:04:28 2022 +0100

    Remove example
---
 spring-boot-cli/hello.groovy | 46 --------------------------------------------
 spring-boot-cli/readme.md    | 14 --------------
 2 files changed, 60 deletions(-)

diff --git a/spring-boot-cli/hello.groovy b/spring-boot-cli/hello.groovy
deleted file mode 100644
index e302a4e..0000000
--- a/spring-boot-cli/hello.groovy
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-@Grab("org.apache.camel:camel-core:3.18.0")
-
-import org.apache.camel.builder.RouteBuilder;
-
-import org.apache.camel.CamelContext;
-import org.apache.camel.impl.DefaultCamelContext;
-
-class CamelRunner {
-
-    RouteBuilder hello() {
-        return new RouteBuilder() {
-            public void configure() {
-                from("timer:simple?period=1000")
-                        .log("Hello Cameleers")
-            }
-        }
-
-    }
-
-    @Bean
-    public CommandLineRunner runner() {
-        return (args) -> {
-            try (CamelContext camelContext = new DefaultCamelContext()) {
-                camelContext.addRoutes(hello());
-                camelContext.start();
-                Thread.sleep(10000);
-            }
-        };
-    }
-}
\ No newline at end of file
diff --git a/spring-boot-cli/readme.md b/spring-boot-cli/readme.md
deleted file mode 100644
index feb6b70..0000000
--- a/spring-boot-cli/readme.md
+++ /dev/null
@@ -1,14 +0,0 @@
-Camel examples for running routes using Spring Boot CLI
-
-### Instructions
-
-[Installation](https://docs.spring.io/spring-boot/docs/current/reference/html/getting-started.html#getting-started.installing.cli)
-
-[Running 
Application](https://docs.spring.io/spring-boot/docs/current/reference/html/cli.html#cli.using-the-cli.run)
-
-
-### Quickstart
-
-`sdk install springboot`
-
-`spring run hello.groovy`

Reply via email to