Page
Install the Karavan extension, then scaffold a new Camel project
In the first lesson, you successfully launched an empty workspace in OpenShift Dev Spaces and executed a command inside the pod. Now it's time to install Karavan and scaffold your project.
What you need
- A workspace in Red Hat OpenShift Dev Spaces
- A no-cost Developer Sandbox for Red Hat OpenShift environment
What you will learn
- How to install Karavan
- How to use Quarkus to scaffold your project
Install the Karavan extension
- Choose Extensions from the menu, search for Karavan in the Extensions Marketplace, and select Install (Figure 8).
- Check and confirm the Karavan extension is enabled (Figure 9).
- The Karavan icon should appear in the left menu bar if successfully enabled (Figure 10).
Congratulations! You have successfully configured and installed the Karavan extension.
Scaffold a new Camel project
- Right-click the Projects icon. Choose Karavan: Create Application (Figure 11).
- Select Quarkus for the runtime (Figure 12).
- Choose OpenShift for the deploy target (Figure 13).
- You can enter the groupId, artifactId, and version, or just leave the default value (Figure 14).
- Once successful, you should see a new file,
application.properties
, inside your project workspace (Figure 15).
Congratulations! You have successfully defined your first Camel project. Now let's create the Camel route.