squakez commented on code in PR #20374:
URL: https://github.com/apache/camel/pull/20374#discussion_r2613597477
##########
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:
Reverted, thanks!
--
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]