You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2021/12/29 09:24:01 UTC

[camel-website] branch main updated: Camel debugger blog post (#737)

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-website.git


The following commit(s) were added to refs/heads/main by this push:
     new 635d6da  Camel debugger blog post (#737)
635d6da is described below

commit 635d6da08a759462814a44931208bddf4324ee32
Author: javaduke <Eu...@modusbox.com>
AuthorDate: Wed Dec 29 02:23:49 2021 -0700

    Camel debugger blog post (#737)
    
    Camel debugger blog post
---
 .../evaluateExpression.gif                         | Bin 0 -> 2416650 bytes
 .../2021/12/camelDebuggerForIntelliJ/featured.png  | Bin 0 -> 1654763 bytes
 .../camelDebuggerForIntelliJ/headersProperties.gif | Bin 0 -> 168800 bytes
 .../blog/2021/12/camelDebuggerForIntelliJ/index.md |  59 +++++++++++++++++++++
 .../12/camelDebuggerForIntelliJ/runToPosition.gif  | Bin 0 -> 354966 bytes
 .../camelDebuggerForIntelliJ/stepOverIntoOut.gif   | Bin 0 -> 1627570 bytes
 6 files changed, 59 insertions(+)

diff --git a/content/blog/2021/12/camelDebuggerForIntelliJ/evaluateExpression.gif b/content/blog/2021/12/camelDebuggerForIntelliJ/evaluateExpression.gif
new file mode 100644
index 0000000..8d855cc
Binary files /dev/null and b/content/blog/2021/12/camelDebuggerForIntelliJ/evaluateExpression.gif differ
diff --git a/content/blog/2021/12/camelDebuggerForIntelliJ/featured.png b/content/blog/2021/12/camelDebuggerForIntelliJ/featured.png
new file mode 100644
index 0000000..c8d2341
Binary files /dev/null and b/content/blog/2021/12/camelDebuggerForIntelliJ/featured.png differ
diff --git a/content/blog/2021/12/camelDebuggerForIntelliJ/headersProperties.gif b/content/blog/2021/12/camelDebuggerForIntelliJ/headersProperties.gif
new file mode 100644
index 0000000..78c925c
Binary files /dev/null and b/content/blog/2021/12/camelDebuggerForIntelliJ/headersProperties.gif differ
diff --git a/content/blog/2021/12/camelDebuggerForIntelliJ/index.md b/content/blog/2021/12/camelDebuggerForIntelliJ/index.md
new file mode 100644
index 0000000..10ee36f
--- /dev/null
+++ b/content/blog/2021/12/camelDebuggerForIntelliJ/index.md
@@ -0,0 +1,59 @@
+---
+title: "Camel Debugger For IntelliJ"
+date: 2021-12-27
+authors: ["javaduke"]
+categories: ["Tooling"]
+preview: "Apache Camel plugin for IntelliJ now features a debugger for XML routes"
+---
+
+The recent release of the [Apache Camel plugin for IntelliJ version v0.8.0](https://plugins.jetbrains.com/plugin/9371-apache-camel) includes the first tech preview of the Camel Route Debugger. The debugger is currently available on Maven-based Camel projects and routes defined in the XML DSL. The minimum recommended Camel version is 3.15.0-SNAPSHOT (older versions also may work, but the functionality is limited).
+
+# Features
+
+The first tech preview includes the following features:
+
+- Breakpoints inside Camel routes in XML DSL;
+
+- Conditional breakpoints with Simple language predicates;
+
+- Message body, headers and Exchange properties preview;
+  ![Message Body, Headers and Properties](./headersProperties.gif)
+
+- Camel expressions evaluator;
+  ![Expression Evaluator](./evaluateExpression.gif)
+
+- Support for Simple and DataSonnet expression languages;
+
+- Message History and execution stack;
+
+- Step Over, Step Into and Step Out functionalities implemented;
+  ![Stepping Over, Into and Out](./stepOverIntoOut.gif)
+
+- Run To Position implemented;
+  ![Run to Position](./runToPosition.gif)
+
+- Camel and Camel SpringBoot run configurations.
+
+
+To try the debugger:
+
+- Check out a [Camel Spring Boot example which uses XML routes](https://github.com/apache/camel-spring-boot-examples/tree/main/xml);
+- Import the project into the IntelliJ as a Maven project;
+- Create a new **Camel SpringBoot Application** run configuration;
+- If you want to evaluate expressions in the [DataSonnet language](/components/latest/languages/datasonnet-language.html), add the following dependencies to your `pom.xml`:
+ ```
+    <dependency>
+        <groupId>org.apache.camel.springboot</groupId>
+        <artifactId>camel-datasonnet-starter</artifactId>
+    </dependency>
+    <dependency>
+        <groupId>org.scala-lang</groupId>
+        <artifactId>scala-library</artifactId>
+        <version>2.13.3</version>
+    </dependency>
+```
+
+# What's next
+We'd like to hear from you! Please be sure to submit your bug reports and enhancement requests to the [Camel IDEA Plugin issue tracker](https://github.com/camel-tooling/camel-idea-plugin/issues)! 
+
+The future enhancements will include support for non-XML DSLs such as Java and YAML, support for other project types (e.g. Gradle) and more!
diff --git a/content/blog/2021/12/camelDebuggerForIntelliJ/runToPosition.gif b/content/blog/2021/12/camelDebuggerForIntelliJ/runToPosition.gif
new file mode 100644
index 0000000..c051e0d
Binary files /dev/null and b/content/blog/2021/12/camelDebuggerForIntelliJ/runToPosition.gif differ
diff --git a/content/blog/2021/12/camelDebuggerForIntelliJ/stepOverIntoOut.gif b/content/blog/2021/12/camelDebuggerForIntelliJ/stepOverIntoOut.gif
new file mode 100644
index 0000000..2561795
Binary files /dev/null and b/content/blog/2021/12/camelDebuggerForIntelliJ/stepOverIntoOut.gif differ