[ https://issues.apache.org/jira/browse/CAMEL-20947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aurélien Pupier updated CAMEL-20947: ------------------------------------ Fix Version/s: 4.8.0 > Enable Jolokia in camel.debug profile of generated Quarkus project with Camel > JBang > ----------------------------------------------------------------------------------- > > Key: CAMEL-20947 > URL: https://issues.apache.org/jira/browse/CAMEL-20947 > Project: Camel > Issue Type: Improvement > Components: camel-jbang > Reporter: Aurélien Pupier > Assignee: Aurélien Pupier > Priority: Minor > Fix For: 4.8.0 > > > What do you think about enabling Jolokia in the camel.debug profile of the > generated project with Camel JBang? > it will allow to do remote Camel debugging, so for instance with project > deployed on Kubernetes or OpenShift > For Quarkus project, this could be done with: > {noformat} > <profile> > <id>camel.debug</id> > <activation> > <property> > <name>camel.debug</name> > <value>true</value> > </property> > </activation> > <dependencies> > <dependency> > <groupId>org.apache.camel.quarkus</groupId> > <artifactId>camel-quarkus-debug</artifactId> > </dependency> > </dependencies> > <build> > <plugins> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-dependency-plugin</artifactId> > <version>3.7.1</version> > <executions> > <execution> > <id>copy</id> > <phase>generate-sources</phase> > <goals> > <goal>copy</goal> > </goals> > <configuration> > <artifactItems> > <artifactItem> > <groupId>org.jolokia</groupId> > > <artifactId>jolokia-agent-jvm</artifactId> > <version>2.0.3</version> > <type>jar</type> > <classifier>javaagent</classifier> > </artifactItem> > </artifactItems> > <stripVersion>true</stripVersion> > </configuration> > </execution> > </executions> > </plugin> > <plugin> > <groupId>${quarkus.platform.group-id}</groupId> > <artifactId>quarkus-maven-plugin</artifactId> > <configuration> > <jvmArgs>-Dcamel.main.shutdownTimeout=30 > -Dquarkus.camel.source-location-enabled=true > -javaagent:target/dependency/jolokia-agent-jvm-javaagent.jar=port=7878,host=localhost</jvmArgs> > </configuration> > </plugin> > </plugins> > </build> > </profile> > {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)