You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2025/12/06 13:12:00 UTC
[jira] [Created] (CAMEL-22758) camel-jbang - Debug inside choice may not correlate to source location
Claus Ibsen created CAMEL-22758:
-----------------------------------
Summary: camel-jbang - Debug inside choice may not correlate to source location
Key: CAMEL-22758
URL: https://issues.apache.org/jira/browse/CAMEL-22758
Project: Camel
Issue Type: Bug
Components: camel-jbang
Affects Versions: 4.17.0
Reporter: Claus Ibsen
Assignee: Claus Ibsen
Fix For: 4.17.0
Notice this while debugging a little java app
{code:java}
Source: bar.java History
-------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------
4: 0 (0ms) route1/from1 7: timer:java?period=1000
5: @Override 1 (1ms) route1/setBody1 8: setBody[simple{Hello Camel
6: public void configure() throws Exception { 2 (8963ms) route1/choice1 10: choice[when[{body contains
7: <--* from("timer:java?period=1000") 3 (1ms) route1/log2 -1: log[Yeah here is a Camel]
8: .setBody() 4 (1ms) route1/log4 19: log[complete]
9: .simple("Hello Camel from ${routeId}")
10: .choice()
11: .when(body().contains("world"))
12: .log("Stop the world")
2025-12-06 14:10:10.566 47192 --- [ thread #6 - timer://java] route1/*<-- : 12 - Completed (success) (116ms)
Exchange (DefaultExchange) InOnly 0B9FFAFAE3E77CA-0000000000000001
Message (DefaultMessage)
Body (String) (bytes: 23)
Hello Camel from route1
Breakpoint suspended. Press ENTER to continue (q = quit). {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)