[
https://issues.apache.org/jira/browse/CAMEL-21612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-21612.
---------------------------------
Resolution: Fixed
okay found the bug and fixed for next release
> [Regression] Camel JMX debugger is no more activated with
> org.apache.camel:camel-debug dependency
> -------------------------------------------------------------------------------------------------
>
> Key: CAMEL-21612
> URL: https://issues.apache.org/jira/browse/CAMEL-21612
> Project: Camel
> Issue Type: Bug
> Components: camel-jbang
> Affects Versions: 4.9.0
> Reporter: Aurélien Pupier
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 4.10.0
>
>
> working with 4.8.2
> {noformat}
> jbang '-Dcamel.jbang.version=4.8.2'
> '-Dorg.apache.camel.debugger.suspend=true' camel@apache/camel run
> test-with-4_8_2.camel.yaml --dev --logging-level=info
> '--dep=org.apache.camel:camel-debug' --local-kamelet-dir=.
> 2025-01-13 14:54:41.775 INFO 3939143 --- [ main]
> org.apache.camel.main.MainSupport : Apache Camel (JBang) 4.8.2 is
> starting
> 2025-01-13 14:54:42.129 INFO 3939143 --- [ main]
> org.apache.camel.main.MainSupport : Using Java 21.0.3 with PID
> 3939143. Started by apupier in /home/apupier/ws/demo/a sub folder
> 2025-01-13 14:54:43.681 INFO 3939143 --- [ main]
> .main.download.MavenDependencyDownloader : Downloaded:
> org.apache.camel:camel-debug:4.8.2 (took: 1s536ms) from:
> central@https://repo1.maven.org/maven2
> 2025-01-13 14:54:43.907 INFO 3939143 --- [ main]
> org.apache.camel.main.ProfileConfigurer : The application is starting with
> profile: dev
> 2025-01-13 14:54:44.575 INFO 3939143 --- [ main]
> he.camel.cli.connector.LocalCliConnector : Camel JBang CLI enabled
> 2025-01-13 14:54:44.576 INFO 3939143 --- [ main]
> e.camel.impl.engine.AbstractCamelContext : Detected: camel-debug JAR
> (Enabling Camel Debugging)
> 2025-01-13 14:54:44.587 INFO 3939143 --- [ main]
> mel.impl.debugger.DefaultBacklogDebugger : Waiting for a debugger to attach
> 2025-01-13 14:54:44.799 INFO 3939143 --- [ main]
> e.camel.impl.engine.AbstractCamelContext : Apache Camel 4.8.2
> (test-with-4_8_2) is starting
> 2025-01-13 14:54:44.972 INFO 3939143 --- [ main]
> upport.FileWatcherResourceReloadStrategy : Live route reloading enabled
> (directory: .)
> 2025-01-13 14:54:45.069 INFO 3939143 --- [gerJMXConnector]
> mpl.debugger.DebuggerJmxConnectorService : Debugger JMXConnector listening
> at: service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi/camel
> 2025-01-13 14:54:45.197 INFO 3939143 --- [ main]
> e.camel.impl.engine.AbstractCamelContext : Routes startup (total:1)
> 2025-01-13 14:54:45.198 INFO 3939143 --- [ main]
> e.camel.impl.engine.AbstractCamelContext : Started route1 (timer://yaml)
> 2025-01-13 14:54:45.198 INFO 3939143 --- [ main]
> e.camel.impl.engine.AbstractCamelContext : Apache Camel 4.8.2
> (test-with-4_8_2) started in 398ms (build:0ms init:0ms start:398ms)
> {noformat}
> no more working with Camel 4.9.0:
> {noformat}
> jbang '-Dcamel.jbang.version=4.9.0'
> '-Dorg.apache.camel.debugger.suspend=true' camel@apache/camel run
> test-with-4_9_0.camel.yaml --dev --logging-level=info
> '--dep=org.apache.camel:camel-debug' --local-kamelet-dir=.
> 2025-01-13 14:53:15.468 INFO 3936155 --- [ main]
> org.apache.camel.main.MainSupport : Apache Camel (JBang) 4.9.0 is
> starting
> 2025-01-13 14:53:15.974 INFO 3936155 --- [ main]
> org.apache.camel.main.MainSupport : Using Java 21.0.3 with PID
> 3936155. Started by apupier in /home/apupier/ws/demo/a sub folder
> 2025-01-13 14:53:16.307 INFO 3936155 --- [ main]
> org.apache.camel.main.ProfileConfigurer : The application is starting with
> profile: dev
> 2025-01-13 14:53:16.901 INFO 3936155 --- [ main]
> he.camel.cli.connector.LocalCliConnector : Camel JBang CLI enabled
> 2025-01-13 14:53:17.114 INFO 3936155 --- [ main]
> e.camel.impl.engine.AbstractCamelContext : Apache Camel 4.9.0
> (test-with-4_9_0) is starting
> 2025-01-13 14:53:17.402 INFO 3936155 --- [ main]
> upport.FileWatcherResourceReloadStrategy : Live route reloading enabled
> (directory: .)
> 2025-01-13 14:53:17.641 INFO 3936155 --- [ main]
> e.camel.impl.engine.AbstractCamelContext : Routes startup (total:1)
> 2025-01-13 14:53:17.641 INFO 3936155 --- [ main]
> e.camel.impl.engine.AbstractCamelContext : Started route1 (timer://yaml)
> 2025-01-13 14:53:17.642 INFO 3936155 --- [ main]
> e.camel.impl.engine.AbstractCamelContext : Apache Camel 4.9.0
> (test-with-4_9_0) started in 526ms (build:0ms init:0ms start:526ms
> boot:1s639ms)
> {noformat}
> it is affecting debug functionality in VS Code
--
This message was sent by Atlassian Jira
(v8.20.10#820010)