Croway commented on code in PR #19142:
URL: https://github.com/apache/camel/pull/19142#discussion_r2339233518
##########
components/camel-xslt-saxon/src/main/java/org/apache/camel/component/xslt/saxon/SaxonXmlSourceHandlerFactoryImpl.java:
##########
@@ -40,4 +81,51 @@ protected Source getSource(Exchange exchange, Object body) {
}
return source;
}
+
+ private Source convertJsonToXmlSource(String jsonString) {
+ try {
+ net.sf.saxon.s9api.XPathSelector selector =
getSaxonJsonToXmlExecutable().load();
Review Comment:
is XPathSelector TrheadSafe? in case can this be initialized only once?
--
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]