This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- rest: | |
id: rest-023d | |
post: | |
- id: post-ff05 | |
path: files | |
to: direct:files | |
- route: | |
id: route-0c9c | |
nodePrefixId: route-4ce | |
from: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//DEPS org.apache.camel:camel-kubernetes | |
// camel-k: language=java | |
import io.fabric8.kubernetes.api.model.EnvVar; | |
import org.apache.camel.builder.RouteBuilder; | |
public class foo extends RouteBuilder { | |
@Override |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// camel-k: language=java | |
import org.apache.camel.builder.RouteBuilder; | |
public class split extends RouteBuilder { | |
@Override | |
public void configure() throws Exception { | |
// Write your routes here, for example: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.foo.acme; | |
import com.azure.core.credential.AccessToken; | |
import com.azure.core.credential.TokenCredential; | |
import com.azure.core.credential.TokenRequestContext; | |
import reactor.core.publisher.Mono; | |
public class MyCredential implements TokenCredential { | |
private String username; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/workspace/deleteme/tmp ❯ jbang -V | |
0.104.0 | |
~/workspace/deleteme/tmp ❯ camel -V | |
3.20.2 | |
~/workspace/deleteme/tmp ❯ camel init first.yaml | |
~/workspace/deleteme/tmp ❯ camel run * | |
2023-03-15 04:02:07.608 INFO 90969 --- [ main] org.apache.camel.main.MainSupport : Apache Camel (JBang) 3.20.2 is starting | |
2023-03-15 04:02:07.716 INFO 90969 --- [ main] org.apache.camel.main.MainSupport : Using Java 17.0.5 with PID 90969. Started by davsclaus in /Users/davsclaus/workspace/deleteme/tmp | |
2023-03-15 04:02:07.722 INFO 90969 --- [ main] mel.cli.connector.LocalCliConnector : Camel CLI enabled (local) | |
2023-03-15 04:02:08.120 INFO 90969 --- [ main] el.impl.engine.AbstractCamelContext : Apache Camel 3.20.2 (first) is starting |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// camel-k: language=java | |
import org.apache.camel.builder.RouteBuilder; | |
import javax.management.Attribute; | |
import javax.management.MBeanServer; | |
import javax.management.ObjectName; | |
public class workaround extends RouteBuilder { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# camel-k: language=yaml | |
- rest: | |
get: | |
- path: "/hello" | |
to: "direct:hello" | |
- from: | |
uri: "direct:hello" | |
steps: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"status": "UP", | |
"components": { | |
"camelHealth": { | |
"status": "UP", | |
"details": { | |
"name": "camel-health-check", | |
"context": "UP", | |
"context.data": { | |
"invocation.count": "1", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO] --- quarkus-maven-plugin:2.15.0.Final:build (default) @ kameleon --- | |
[WARNING] [io.quarkus.resteasy.mutiny.deployment.ResteasyMutinyProcessor] The quarkus-resteasy-mutiny extension is deprecated. Switch to RESTEasy Reactive instead. | |
This extension adds support for Uni and Multi to RESTEasy Classic, without using the reactive execution model, as RESTEasy Classic does not use it. To properly integrate Mutiny and RESTEasy, use RESTEasy Reactive. See https://quarkus.io/guides/getting-started-reactive for detailed instructions | |
[WARNING] [io.quarkus.arc.deployment.SplitPackageProcessor] Detected a split package usage which is considered a bad practice and should be avoided. Following packages were detected in multiple archives: | |
- "io.fabric8.camelk" found in [io.fabric8:camel-k-model-v1::jar, io.fabric8:camel-k-model-v1alpha1::jar] | |
[INFO] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Building uber jar: /Users/davsclaus/workspace/camel-kameleon/target/kameleon-0.4.0-runner.tmp | |
[WARNING] [io.quarkus.dep |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# camel-k: language=yaml | |
# Write your routes here, for example: | |
- error-handler: | |
dead-letter-channel: | |
deadLetterUri: "log:dead" | |
redeliveryPolicy: | |
maximumRedeliveries: 5 | |
retryAttemptedLogLevel: WARN |
NewerOlder