This is an automated email from the ASF dual-hosted git repository.
apupier pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets-examples.git
The following commit(s) were added to refs/heads/main by this push:
new be6e7a2 CAMEL-20888 - Remove Kotlin DSl
be6e7a2 is described below
commit be6e7a26fd3c9fb866d524882ff3e2221c2cca7b
Author: Aurélien Pupier <[email protected]>
AuthorDate: Mon Sep 9 10:02:50 2024 +0200
CAMEL-20888 - Remove Kotlin DSl
Kotlin DSL is removed in Camel 4.8, removing example using Kotlin DSL
Signed-off-by: Aurélien Pupier <[email protected]>
---
jbang/languages/routes.kts | 23 -----------------------
1 file changed, 23 deletions(-)
diff --git a/jbang/languages/routes.kts b/jbang/languages/routes.kts
deleted file mode 100755
index 713c91d..0000000
--- a/jbang/languages/routes.kts
+++ /dev/null
@@ -1,23 +0,0 @@
-// camel-k: language=kotlin
-/*
- * 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.
- */
-
-from("timer:kotlin?period=1000")
- .routeId("kotlin")
- .setBody()
- .simple("Hello Camel K from \${routeId}")
- .to("log:info")