### Start CAPI Gateway with Docker Compose Source: https://github.com/apache/camel-website/blob/main/content/blog/2020/01/capi-gateway/index.md Use this command to start the CAPI Gateway and its dependencies using Docker Compose. Ensure Docker is installed and running. ```bash sudo docker-compose up -d ``` -------------------------------- ### Run External System Setup Scripts Source: https://github.com/apache/camel-website/blob/main/content/blog/2020/05/CdcWithCamelAndDebezium/index.md Execute shell scripts to initialize the database, query tables, and stream changes. Also, start the Artemis message broker. ```sh ./run.sh --database ./run.sh --query ./run.sh --stream ``` ```sh ./run.sh --artemis # status check ps -ef | grep "[A]rtemis" | wc -l ``` -------------------------------- ### Compile and Run Migrated Camel Quarkus Example Source: https://github.com/apache/camel-website/blob/main/content/blog/2024/12/migrate-blueprint/index.md After completing the migration steps, compile the project using Maven and run it with `quarkus:run`. This command will start the application on the configured port. ```bash $ mvn package quarkus:run ``` -------------------------------- ### Spring Boot Application Startup Log Source: https://github.com/apache/camel-website/blob/main/content/blog/2024/12/migrate-blueprint/index.md Example log output showing a Spring Boot application starting up with Apache Camel. ```log . ____ _ __ _ _ /\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\[__] | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.4.0) 2024-12-04T08:24:19.113+01:00 INFO 45359 --- [ main] c.mycompany.myproject.CamelApplication : Starting CamelApplication using Java 17.0.11 with PID 45359 (/Users/davsclaus/workspace/camel-karaf-examples/examples/camel-example-sql-blueprint/code/target/classes started by davsclaus in /Users/davsclaus/workspace/camel-karaf-examples/examples/camel-example-sql-blueprint/code) 2024-12-04T08:24:19.114+01:00 INFO 45359 --- [ main] c.mycompany.myproject.CamelApplication : No active profile set, falling back to 1 default profile: "default" 2024-12-04T08:24:19.679+01:00 INFO 45359 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8080 (http) 2024-12-04T08:24:19.685+01:00 INFO 45359 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2024-12-04T08:24:19.685+01:00 INFO 45359 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.33] 2024-12-04T08:24:19.708+01:00 INFO 45359 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2024-12-04T08:24:19.709+01:00 INFO 45359 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 574 ms 2024-12-04T08:24:19.897+01:00 WARN 45359 --- [ main] o.a.c.i.e.DefaultCamelBeanPostProcessor : No CamelContext defined yet so cannot inject into bean: startupConditionStrategy 2024-12-04T08:24:20.160+01:00 INFO 45359 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint beneath base path '/actuator' 2024-12-04T08:24:20.231+01:00 INFO 45359 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8080 (http) with context path '/' 2024-12-04T08:24:20.289+01:00 INFO 45359 --- [ main] o.apache.camel.example.sql.DatabaseBean : Creating table orders ... 2024-12-04T08:24:20.509+01:00 INFO 45359 --- [ main] o.apache.camel.example.sql.DatabaseBean : ... created table orders 2024-12-04T08:24:20.613+01:00 INFO 45359 --- [ main] o.a.c.impl.engine.AbstractCamelContext : Apache Camel 4.9.0 (camel-example-sql-blueprint) is starting 2024-12-04T08:24:20.619+01:00 INFO 45359 --- [ main] o.a.c.impl.engine.AbstractCamelContext : Routes startup (total:2) 2024-12-04T08:24:20.619+01:00 INFO 45359 --- [ main] o.a.c.impl.engine.AbstractCamelContext : Started generateOrder-route (timer://foo) 2024-12-04T08:24:20.619+01:00 INFO 45359 --- [ main] o.a.c.impl.engine.AbstractCamelContext : Started processOrder-route (sql://select%20*%20from%20orders%20where%20processed%20=%20false) 2024-12-04T08:24:20.619+01:00 INFO 45359 --- [ main] o.a.c.impl.engine.AbstractCamelContext : Apache Camel 4.9.0 (camel-example-sql-blueprint) started in 6ms (build:0ms init:0ms start:6ms boot:715ms) 2024-12-04T08:24:20.620+01:00 INFO 45359 --- [ main] c.mycompany.myproject.CamelApplication : Started CamelApplication in 1.653 seconds (process running for 1.782) 2024-12-04T08:24:21.685+01:00 INFO 45359 --- [2 - timer://foo] generateOrder-route : Inserted new order 0 ``` -------------------------------- ### RouteConfiguration YAML Example Source: https://github.com/apache/camel-website/blob/main/content/blog/2023/07/camel-karavan-3.21.0/index.md This example demonstrates the updated handling of path parameters in RouteConfiguration YAML, which are now set similarly to query parameters. ```yaml - route: from: uri: activemq parameters: destinationType: topic destinationName: topic1 ``` -------------------------------- ### Example Debug Command in Devfile Source: https://github.com/apache/camel-website/blob/main/content/blog/2024/08/camel-springboot-remote-debug-to-openshift-from-vscode/index.md This command starts the Java application with remote debugging enabled, exposing the debug port and Jolokia agent. ```yaml commandLine: java -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=${DEBUG_PORT},suspend=n -javaagent:target/dependency/jolokia-agent-jvm-javaagent.jar=port=7878,host=localhost -jar target/*.jar ``` -------------------------------- ### Install ArgoCD Source: https://github.com/apache/camel-website/blob/main/content/blog/2026/02/camel-k-gitops-apps/index.md Installs the ArgoCD application in the 'argocd' namespace. This command applies the ArgoCD installation manifest from the official GitHub repository. ```bash kubectl create namespace argocd kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml ``` -------------------------------- ### Install Project Dependencies with Yarn Source: https://github.com/apache/camel-website/blob/main/antora-ui-camel/README.adoc Use Yarn to install all the necessary dependencies for the UI project. ```bash $ yarn install ``` -------------------------------- ### Asciidoc Example Paragraph Source: https://github.com/apache/camel-website/blob/main/antora-ui-camel/preview-src/index.adoc Demonstrates the syntax for creating an example paragraph in AsciiDoc, including optional titles and attributes. ```asciidoc .Optional title [example] This is an example paragraph. ``` -------------------------------- ### Build and Preview UI Locally Source: https://github.com/apache/camel-website/blob/main/antora-ui-camel/README.adoc Run the 'preview' command to build the UI and start a local web server for live preview. Changes are reflected instantly. ```bash $ yarn preview ``` -------------------------------- ### Camel Route Output Log Source: https://github.com/apache/camel-website/blob/main/content/blog/2025/07/camel-jbang-infra/index.md Example log output from running the CreateEmbeddingsCollection route, showing the start and completion messages. ```log camel run CreateEmbeddingsCollection.java --dependency=camel-qdrant ... 2025-07-18 15:42:06.157 INFO 20614 --- [ main] e.camel.impl.engine.AbstractCamelContext : Apache Camel 4.13.0 (CreateEmbeddingsCollection) started in 403ms (build:0ms init:0ms start:403ms boot:1s150ms) 2025-07-18 15:42:07.098 INFO 20614 --- [timer://runOnce] CreateEmbeddingsCollection.java:13 : Creating collection 2025-07-18 15:42:07.299 INFO 20614 --- [ducer:endpoint2] CreateEmbeddingsCollection.java:22 : Collection embeddings created ``` -------------------------------- ### Initialize Kustomize Base and Overlay for Development Source: https://github.com/apache/camel-website/blob/main/content/blog/2023/07/camel-k-gitops/index.md Set up Kustomize directories and configurations. This involves creating a base with the integration and then an overlay for the development environment, including a specific ConfigMap. ```bash cd base/ kustomize create --resources my-it.yaml kustomize edit add configmap my-cm --from-literal=my-configmap-file="I am a default environment" --behavior create --disableNameSuffixHash cd ../overlays/dev/ kustomize create --resources ../../base kustomize edit add configmap my-cm --from-literal=my-configmap-file="I am a development environment" --behavior replace ``` -------------------------------- ### Camel Spring Boot Platform HTTP Example Source: https://github.com/apache/camel-website/blob/main/content/blog/2022/10/camel319-whatsnew/index.md Example demonstrating how to define Camel routes that start from the embedded HTTP server within Spring Boot using `platform-http`. This simplifies integration with Spring Boot's HTTP capabilities. ```java package org.apache.camel.example.springboot; import org.apache.camel.builder.RouteBuilder; import org.springframework.stereotype.Component; @Component public class MyRoutes extends RouteBuilder { @Override public void configure() throws Exception { // @formatter:off rest() .get("/hello") .to("direct:hello"); from("direct:hello") .transform().constant("Hello World"); // @formatter:on } } ``` -------------------------------- ### Build UI Once for Preview Source: https://github.com/apache/camel-website/blob/main/antora-ui-camel/docs/modules/ROOT/pages/build-preview-ui.adoc Execute this command to pre-compile UI files into the `public` directory for a single preview build. Navigate to the HTML pages in the `public` directory to view the preview. ```bash $ gulp preview:build ``` -------------------------------- ### Preview Website Locally Source: https://github.com/apache/camel-website/blob/main/README.md Run this command to start a local web server for previewing the generated website. The site will be available at http://localhost:1313/. ```bash yarn preview ``` -------------------------------- ### Start Docker Compose Infrastructure Source: https://github.com/apache/camel-website/blob/main/content/blog/2026/01/log-analyzer/index.md Navigate to the containers directory and start the infrastructure services using Docker Compose. This will launch Kafka, Infinispan, OTEL Collector, and ActiveMQ Artemis. ```bash cd containers docker-compose up ``` -------------------------------- ### Environment Variable Setup for OpenAI Source: https://github.com/apache/camel-website/blob/main/content/blog/2026/01/camel-openai/index.md Set the necessary environment variables for API key, base URL, and model before running the Camel JBang example. ```shell export OPENAI_API_KEY= export OPENAI_BASE_URL=http://localhost:8181/v1 export OPENAI_MODEL=unsloth/Ministral-3-8B-Instruct-2512-GGUF ``` -------------------------------- ### Build All Website Components Source: https://github.com/apache/camel-website/blob/main/README.md Execute this command to build both the Antora theme and the website content. The output will be in the `public` directory. ```bash yarn build-all ``` -------------------------------- ### Unit Test Setup with WireMockServer Source: https://github.com/apache/camel-website/blob/main/content/blog/2020/01/CustomWebApiComponent/index.md Configure a WireMockServer to stub API responses for unit tests. Uses AvailablePortFinder to dynamically get an available port. ```java private static WireMockServer wireMockServer; @BeforeAll public static void startServer() { port = AvailablePortFinder.getNextAvailable(); wireMockServer = new WireMockServer(port); wireMockServer.start(); setupStubs(); } public static void setupStubs() { wireMockServer.stubFor(get(urlEqualTo("/jokes/random")) .willReturn(aResponse() .withHeader("Content-Type", "application/json; charset=UTF-8") .withStatus(HttpURLConnection.HTTP_OK) .withBodyFile("json/random-joke.json"))); } ``` -------------------------------- ### Call Rest Service with Curl Source: https://github.com/apache/camel-website/blob/main/content/blog/2024/12/migrate-blueprint/index.md Demonstrates how to call a migrated Rest service using curl. This example shows a GET request to retrieve user data. ```shell curl http://0.0.0.0:8080/rest/user/123 { "id" : 123, "name" : "John Doe" } ``` -------------------------------- ### Example package.json Structure Source: https://github.com/apache/camel-website/blob/main/antora-ui-camel/preview-src/index.adoc Illustrates the basic structure of a package.json file, including metadata and script definitions. ```json { "name": "module-name", "version": "10.0.1", "description": "An example module to illustrate the usage of package.json", "author": "Author Name ", "scripts": { "test": "mocha", "lint": "eslint" } } ``` -------------------------------- ### Configure SSLContextParameters in YAML DSL Source: https://github.com/apache/camel-website/blob/main/content/blog/2026/04/camel419-whatsnew/index.md Configure SSL/TLS directly within the YAML DSL using the sslContextParameters configuration. This example demonstrates basic keystore and truststore setup. ```yaml - sslContextParameters: id: mySSL keyStore: server.p12 keystorePassword: changeit trustStore: truststore.p12 trustStorePassword: changeit - from: uri: "direct:ssl" steps: - to: "mock:ssl" ``` -------------------------------- ### Package UI Bundle for Preview Source: https://github.com/apache/camel-website/blob/main/antora-ui-camel/docs/modules/ROOT/pages/build-preview-ui.adoc Run this command to bundle the UI, which also invokes the `lint` command to check coding standards. The UI bundle will be available at `build/ui-bundle.zip`. ```bash $ gulp bundle ``` -------------------------------- ### Bundle UI without Clobbering Preview Source: https://github.com/apache/camel-website/blob/main/antora-ui-camel/README.adoc Use this command to create the UI bundle without disrupting the running preview server. The bundle is saved to _build/ui-bundle.zip_. ```bash gulp bundle:pack ``` -------------------------------- ### Project Directory Structure Example Source: https://github.com/apache/camel-website/blob/main/antora-ui-camel/preview-src/index.adoc Shows a typical directory structure for a Java project, including main source and test directories. ```text pom.xml src/ main/ java/ HelloWorld.java test/ java/ HelloWorldTest.java ``` -------------------------------- ### Sample Camel JBang Integration Output Source: https://github.com/apache/camel-website/blob/main/content/blog/2022/11/camel-k-jbang/index.md This is an example of the log output when running the 'beer-integration.yaml' with Camel JBang. It shows the integration starting up and then logging the JSON payload from the beer source Kamelet. ```log 2022-11-24 11:27:29.634 INFO 39527 --- [ main] org.apache.camel.main.MainSupport : Apache Camel (JBang) 3.18.1 is starting 2022-11-24 11:27:29.706 INFO 39527 --- [ main] org.apache.camel.main.MainSupport : Using Java 11.0.17 with PID 39527. Started by squake in /home/squake/workspace/jbang/camel-blog 2022-11-24 11:27:31.391 INFO 39527 --- [ main] e.camel.impl.engine.AbstractCamelContext : Apache Camel 3.18.1 (CamelJBang) is starting 2022-11-24 11:27:31.590 INFO 39527 --- [ main] org.apache.camel.main.BaseMainSupport : Property-placeholders summary 2022-11-24 11:27:31.590 INFO 39527 --- [ main] org.apache.camel.main.BaseMainSupport : [beer-source.kamelet.yaml] period=5000 2022-11-24 11:27:31.590 INFO 39527 --- [ main] org.apache.camel.main.BaseMainSupport : [beer-source.kamelet.yaml] templateId=beer-source 2022-11-24 11:27:31.591 INFO 39527 --- [ main] e.camel.impl.engine.AbstractCamelContext : Routes startup (started:2) 2022-11-24 11:27:31.591 INFO 39527 --- [ main] e.camel.impl.engine.AbstractCamelContext : Started route1 (kamelet://beer-source) 2022-11-24 11:27:31.591 INFO 39527 --- [ main] e.camel.impl.engine.AbstractCamelContext : Started beer-source-1 (timer://beer) 2022-11-24 11:27:31.591 INFO 39527 --- [ main] e.camel.impl.engine.AbstractCamelContext : Apache Camel 3.18.1 (CamelJBang) started in 1s143ms (build:125ms init:819ms start:199ms JVM-uptime:2s) 2022-11-24 11:27:33.297 INFO 39527 --- [ - timer://beer] beer-integration.yaml:4 : {"id":3975,"uid":"2df52cb0-ff5a-4c51-b33e-a2c3a65caac5","brand":"Birra Moretti","name":"St. Bernardus Abt 12","style":"English Pale Ale","hop":"Columbus","yeast":"5526 - Brettanomyces lambicus","malts":"Roasted barley","ibu":"41 IBU","alcohol":"2.1%","blg":"15.0°Blg"} ``` -------------------------------- ### Create Kustomize Production Overlay Source: https://github.com/apache/camel-website/blob/main/content/blog/2023/07/camel-k-gitops/index.md Use Kustomize to create a production overlay, specifying base resources and adding configuration maps. This sets up the production environment's base structure. ```bash cd ../../overlays/prod/ ``` ```bash kustomize create --resources ../../base/ ``` ```bash kustomize edit add configmap my-cm --from-literal=my-configmap-file="I am a production environment" --behavior replace ``` ```bash kustomize edit set namespace prod ``` -------------------------------- ### Start Minikube with specific CPU and Memory Source: https://github.com/apache/camel-website/blob/main/content/blog/2022/06/Optimizing-Camel-K-Integration-Build-Time/index.md Use this command to start a Minikube cluster with a specified number of CPUs and memory. This is useful for testing performance under different resource constraints. ```shell minikube start --addons registry --cpus 2 --memory=3GB ``` ```shell minikube start --addons registry --cpus 4 --memory=3GB ``` -------------------------------- ### Run Kafka Infrastructure with Camel CLI Source: https://github.com/apache/camel-website/blob/main/content/blog/2026/01/log-analyzer/index.md Starts a Kafka broker using Docker via the Camel CLI. This command requires Docker to be installed and running. Press ENTER to stop the service. ```bash camel infra run kafka ``` -------------------------------- ### Prepare Directory Structure for GitOps Source: https://github.com/apache/camel-website/blob/main/content/blog/2023/07/camel-k-gitops/index.md Sets up a directory structure using Kustomize for managing different environment configurations (base, dev, prod). This structure serves as the source for a Git repository. ```bash mkdir -p my-ck-gitops mkdir -p my-ck-gitops/base mkdir -p my-ck-gitops/overlays/dev mkdir -p my-ck-gitops/overlays/prod cd my-ck-gitops ``` -------------------------------- ### Kubectl Apply Commands for Pipeline Setup Source: https://github.com/apache/camel-website/blob/main/content/blog/2022/10/camel-k-cicd/index.md These commands are used to apply Tekton pipeline resources to a Kubernetes cluster. They include creating a service account, role binding, installing the git-clone task, and applying the main pipeline definition. ```bash kubectl apply -f ci/sa.yaml -n development kubectl apply -f ci/rolebinding.yaml -n development ``` ```bash kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/git-clone/0.8/git-clone.yaml -n development ``` ```bash kubectl apply -f ci/pipeline.yaml -n development ``` -------------------------------- ### Run Continuous UI Preview Build Source: https://github.com/apache/camel-website/blob/main/antora-ui-camel/docs/modules/ROOT/pages/build-preview-ui.adoc Launch the preview server to continuously build UI changes and synchronize updates with the browser via live reload. This command also starts a local HTTP server. ```bash $ gulp preview ``` -------------------------------- ### Display Camel Route Startup Errors with JBang Source: https://github.com/apache/camel-website/blob/main/content/blog/2024/09/camel48-whatsnew/index.md Use the `camel get route --error` command to view detailed error messages and stack traces when a Camel route fails to start. This helps in diagnosing startup issues. ```console $ camel get route --error PID NAME ID FROM REMOTE STATUS PHASE MESSAGE 81814 MyKafka route1 kafka://cheese?brokers=localhost:119092 x Error Start Invalid port in bootstrap.servers: localhost:119092 ------------------------------------------------------------------------------------------------------------------------ STACK-TRACE ------------------------------------------------------------------------------------------------------------------------ o.a.k.c.ConfigException: Invalid port in bootstrap.servers: localhost:119092 at o.a.k.c.ClientUtils.parseAndValidateAddresses(ClientUtils.java:96) at o.a.k.c.ClientUtils.parseAndValidateAddresses(ClientUtils.java:62) at o.a.c.component.kafka.KafkaConsumer.doStart(KafkaConsumer.java:165) at o.a.c.support.service.BaseService.start(BaseService.java:113) at o.a.c.support.service.ServiceHelper.startService(ServiceHelper.java:126) at o.a.c.impl.engine.AbstractCamelContext.startService(AbstractCamelContext.java:3170) at o.a.c.impl.engine.InternalRouteStartupManager.doStartOrResumeRouteConsumers(InternalRouteStartupManager.java:415) at o.a.c.impl.engine.InternalRouteStartupManager.doStartRouteConsumers(InternalRouteStartupManager.java:331) at o.a.c.impl.engine.InternalRouteStartupManager.safelyStartRouteServices(InternalRouteStartupManager.java:217) at o.a.c.impl.engine.InternalRouteStartupManager.safelyStartRouteServices(InternalRouteStartupManager.java:245) at o.a.c.impl.engine.AbstractCamelContext.startRouteService(AbstractCamelContext.java:3217) at o.a.c.impl.engine.AbstractCamelContext.startRoute(AbstractCamelContext.java:1114) at o.a.c.impl.engine.InternalRouteController.startRoute(InternalRouteController.java:126) at o.a.c.impl.engine.DefaultRouteController.startRoute(DefaultRouteController.java:133) at o.a.c.cli.connector.LocalCliConnector.doActionRouteTask(LocalCliConnector.java:823) at o.a.c.cli.connector.LocalCliConnector.actionTask(LocalCliConnector.java:237) at o.a.c.cli.connector.LocalCliConnector.task(LocalCliConnector.java:220) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:840) ``` -------------------------------- ### Initialize and Run a Camel Route Source: https://github.com/apache/camel-website/blob/main/content/blog/2024/01/hawtio-v3/index.md These commands demonstrate the initial steps of creating a new Camel route file and running it using the Camel CLI. Familiarize yourself with these basic operations before proceeding to Hawtio integration. ```console camel init hello.java ``` ```console camel run hello.java ``` -------------------------------- ### Run Camel Example Source: https://github.com/apache/camel-website/blob/main/content/blog/2024/12/migrate-blueprint/index.md Command to run a Camel example using JBang. Ensure you are in the example's directory. ```bash cd camel-example-openapi-osgi camel run pom.xml ``` -------------------------------- ### Initialize Customer Table in Production Database Source: https://github.com/apache/camel-website/blob/main/content/blog/2022/10/camel-k-cicd/index.md Execute a SQL command within the production PostgreSQL pod to create the 'customers' table. ```bash kubectl exec -it postgres-prod-xxxxxxxx-yyyyy -n production -- psql -U postgresadmin --password postgresdb -c 'CREATE TABLE customers (name TEXT PRIMARY KEY, city TEXT)' ``` -------------------------------- ### Install Camel JBang Source: https://github.com/apache/camel-website/blob/main/content/blog/2025/07/camel-jbang-infra/index.md Installs the Camel JBang application. Use --force to overwrite if already installed. ```bash $ jbang app install --name camel --force camel@apache/camel ``` -------------------------------- ### Install Camel JBang Source: https://github.com/apache/camel-website/blob/main/content/blog/2022/05/camel317-whatsnew/index.md Installs the Camel application into JBang for command-line usage. Ensure JBang is installed first. ```bash jbang app install camel@apache/camel ``` -------------------------------- ### Start Docling-Serve with Docker Source: https://github.com/apache/camel-website/blob/main/content/blog/2025/10/camel-docling/index.md Run Docling-Serve in a Docker container, exposing port 5001 for API access. ```shell docker run -d -p 5001:5001 --name docling-serve ghcr.io/docling-project/docling-serve:latest ``` -------------------------------- ### Example Build Command in Devfile Source: https://github.com/apache/camel-website/blob/main/content/blog/2024/08/camel-springboot-remote-debug-to-openshift-from-vscode/index.md This command is used to build the Maven project, skipping tests and activating the camel.debug profile. ```yaml commandLine: mvn clean -Dmaven.repo.local=/home/user/.m2/repository package -Dmaven.test.skip=true -Pcamel.debug ``` -------------------------------- ### Install Camel JBang CLI Source: https://github.com/apache/camel-website/blob/main/content/blog/2021/07/camel-jbang/index.md Installs the Camel JBang command-line interface using JBang. Ensure JBang is installed on your system first. ```bash jbang app install CamelJBang@apache/camel ``` -------------------------------- ### Install Chocolatey on Windows Source: https://github.com/apache/camel-website/blob/main/README.md Commands to install Chocolatey, a package manager for Windows, which can be used to install nvm and Node.js. Requires administrator privileges. ```bash >"@""%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command " [System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" ``` ```powershell > Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) ``` -------------------------------- ### Install Karavan CLI Source: https://github.com/apache/camel-website/blob/main/content/blog/2023/07/camel-karavan-3.21.0/index.md Use the Karavan CLI to install the Karavan Cloud Application on Kubernetes. Provide your Git repository details and desired node port. ```bash jbang org.apache.camel.karavan:karavan-cli:3.21.0 install --git-repository=$REPO --git-password=$PASWORD --git-username=$USERNAME --node-port=30777 ``` -------------------------------- ### Install coc.nvim and coc-camel with vim-plug Source: https://github.com/apache/camel-website/blob/main/content/blog/2022/07/coc-nvim-camel-lsp/index.md Add these lines to your vimrc or init.vim to install the coc.nvim plugin and the coc-camel extension. The coc-camel installation includes necessary dependency management and build steps. ```vim " Initialize plugin system " call plug#begin() " Shorthand notation; fetches https://github.com/neoclide/coc.nvim Plug 'neoclide/coc.nvim', {'branch': 'release'} " Shorthand notation; fetches Camel Ls Plug 'camel-tooling/coc-camel', {'do': 'yarn install --frozen-lockfile && yarn build'} call plug#end() ``` -------------------------------- ### Navigate to Project Directory Source: https://github.com/apache/camel-website/blob/main/content/blog/2024/12/migrate-blueprint/index.md Change the current directory to the project's root. ```bash cd code ``` -------------------------------- ### Initialize Camel JBang Project from GitHub Source: https://github.com/apache/camel-website/blob/main/content/blog/2022/05/camel317-whatsnew/index.md Downloads a Camel integration example from GitHub to the local disk for editing and live updates using Camel JBang's 'init' command. ```bash camel init https://github.com/apache/camel-kamelets-examples/tree/main/jbang/hello-java ``` -------------------------------- ### Run Camel Karaf Example with camel-jbang Source: https://github.com/apache/camel-website/blob/main/content/blog/2024/12/migrate-blueprint/index.md Use camel-jbang to run an existing Maven-based Camel Karaf example. This helps assess the migration effort by attempting to run the example with minimal changes. ```bash cd examples/camel-example-sql-blueprint camel run pom.xml ``` -------------------------------- ### YAKS CLI Output Example Source: https://github.com/apache/camel-website/blob/main/content/blog/2023/01/camel-k-yaks/index.md Example log output when running YAKS tests locally. ```text INFO | INFO | INFO | ------------------------------------------------------------------------ INFO | INFO | .__ __ INFO | INFO | ____ |__|/ |________ __ __ ______ INFO | INFO | _/ ___\| \ __\_ __ \ | \/ ___/ INFO | ``` -------------------------------- ### Install Cert-Manager Source: https://github.com/apache/camel-website/blob/main/content/blog/2023/03/camel-k-telemetry/index.md Install cert-manager, a prerequisite for the Jaeger operator, using its official release YAML. ```sh # The cert manager is a prerequisite to the Jaeger operator (see https://cert-manager.io/docs/installation/) $ kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.10.1/cert-manager.yaml ```