{{< youtube id=“LIxs5Ga_tX0” class=“video” >}}
These steps provide a structured approach to generating, setting up, building, and debugging a Camel Quarkus native application within the VS Code environment.
Within your clean VS Code workspace, initiate the creation of an exemplary Camel route using the command Camel: Create a Camel Route using Java DSL
. This sets the foundation for your project's routing structure.
Utilize the command Camel: Create a Camel Quarkus project
to generate a project based on the previously created Camel route. This action transforms your route into a robust Camel Quarkus project, ready for development.
This step ensures a clean structure. Remove the original Camel route file from the root of the newly generated project.
Execute a predefined task from .vscode/tasks.json
to initiate the build process for your Camel Quarkus Native application. This predefined task streamline the building procedure, ensuring a smooth and debug-ready build. You can run your tasks using VS Code Quick Open (Ctrl/CMD + P
) by typing task <command name>
.
Navigate to the Run and Debug
view within VS Code, where debugging configurations and controls are accessible. Execute the predefined launch configuration to initiate the start of Camel Quarkus Native application. This step seamlessly initiates the execution of your application, readying it for debugging.
Place a breakpoint within the Camel route to interrupt the execution at a specific point. This move allows for detailed inspection and debugging of the application's behavior precisely where needed.
Feel free to provide feedback and ideas using your preferred channel: