davsclaus commented on code in PR #20374:
URL: https://github.com/apache/camel/pull/20374#discussion_r2613560666
##########
core/camel-support/src/main/java/org/apache/camel/support/MessageHelper.java:
##########
@@ -365,7 +365,8 @@ public static String extractValueForLogging(
return "[Body is instance of java.io.Reader]";
} else if (obj instanceof Writer) {
return "[Body is instance of java.io.Writer]";
- } else if
(obj.getClass().getName().equals("javax.xml.transform.stax.StAXSource")) {
+ // NOTE: the class is not available at compilation time
+ } else if
(obj.getClass().getName().equals("jakarta.xml.transform.stax.StAXSource")) { //
NOSONAR
Review Comment:
This javax class is still inside the JDKs itself - such as inside my azul
java 21
There are no jakarta api jar with this class
https://search.maven.org/search?q=fc:jakarta.xml.transform.stax.StAXSource
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]