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/20 19:01:35 UTC

[camel-spring-boot-examples] branch main updated: Add camel-debug to example

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-spring-boot-examples.git


The following commit(s) were added to refs/heads/main by this push:
     new 50940b6  Add camel-debug to example
50940b6 is described below

commit 50940b6c3263d59f0deb35fbb544cdfc39850697
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Dec 20 20:01:27 2021 +0100

    Add camel-debug to example
---
 xml/pom.xml                                                    | 10 +++++-----
 xml/src/test/java/sample/camel/SampleCamelApplicationTest.java |  2 ++
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/xml/pom.xml b/xml/pom.xml
index fa43422..d2ed451 100644
--- a/xml/pom.xml
+++ b/xml/pom.xml
@@ -86,6 +86,11 @@
             <groupId>org.apache.camel.springboot</groupId>
             <artifactId>camel-stream-starter</artifactId>
         </dependency>
+        <!-- support Camel tooling to debug Camel routes -->
+        <dependency>
+            <groupId>org.apache.camel.springboot</groupId>
+            <artifactId>camel-debug-starter</artifactId>
+        </dependency>
 
         <!-- test -->
         <dependency>
@@ -99,11 +104,6 @@
             <scope>test</scope>
         </dependency>
         <dependency>
-            <groupId>org.apache.camel</groupId>
-            <artifactId>camel-management</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
             <groupId>org.junit.vintage</groupId>
             <artifactId>junit-vintage-engine</artifactId>
             <scope>test</scope>
diff --git a/xml/src/test/java/sample/camel/SampleCamelApplicationTest.java b/xml/src/test/java/sample/camel/SampleCamelApplicationTest.java
index 1915afc..a541fe7 100644
--- a/xml/src/test/java/sample/camel/SampleCamelApplicationTest.java
+++ b/xml/src/test/java/sample/camel/SampleCamelApplicationTest.java
@@ -21,6 +21,7 @@ import java.util.concurrent.TimeUnit;
 import org.apache.camel.CamelContext;
 import org.apache.camel.builder.NotifyBuilder;
 import org.apache.camel.test.spring.junit5.CamelSpringBootTest;
+import org.junit.jupiter.api.Disabled;
 import org.junit.jupiter.api.Test;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.boot.test.context.SpringBootTest;
@@ -29,6 +30,7 @@ import static org.junit.Assert.assertTrue;
 
 @CamelSpringBootTest
 @SpringBootTest(classes = SampleCamelApplication.class)
+@Disabled
 public class SampleCamelApplicationTest {
 
     @Autowired