You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/06/22 10:13:32 UTC

[GitHub] [camel] essobedo opened a new pull request, #7849: CAMEL-18215: camel-test - Enable JMX when camel-debug is detected

essobedo opened a new pull request, #7849:
URL: https://github.com/apache/camel/pull/7849

   Fix for https://issues.apache.org/jira/browse/CAMEL-18215
   
   ## Motivation
   
   When `camel-debug` is on the classpath, the intent is to use the `Camel Backlog Debugger` which is based on JMX.
   It would be nice in tests that we do not need to override the method `useJmx` as it is implicitly needed by `camel-debug`.
   
   ## Modifications:
   
   * Adds the method `isCamelDebugPresent` to the utility class `CamelTestSupport` to detect `camel-debug` before initializing the Camel context.
   * Calls this new method in all Camel test JUnit 5 components to automatically enable JMX when `camel-debug` is detected
   
   ## Result
   
   Tested with success with `camel-test-junit5`, `camel-test-main-junit5` and `camel-test-spring-junit5`. Won't work with all Camel test JUnit 4 components.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel] github-actions[bot] commented on pull request #7849: CAMEL-18215: camel-test - Enable JMX when camel-debug is detected

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on PR #7849:
URL: https://github.com/apache/camel/pull/7849#issuecomment-1162952187

   :heavy_check_mark: Finished component verification: 0 component(s) test failed out of **1 component(s) tested**


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel] davsclaus merged pull request #7849: CAMEL-18215: camel-test - Enable JMX when camel-debug is detected

Posted by GitBox <gi...@apache.org>.
davsclaus merged PR #7849:
URL: https://github.com/apache/camel/pull/7849


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel] github-actions[bot] commented on pull request #7849: CAMEL-18215: camel-test - Enable JMX when camel-debug is detected

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on PR #7849:
URL: https://github.com/apache/camel/pull/7849#issuecomment-1162912558

   :warning: This PR changes Camel components and will be tested automatically.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org