This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit f507199c4422c44378f52e1048fa0438e236db97
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Mon Jan 26 20:34:08 2026 +0000

    (chores): ensure usage of text blocks camel-cxf-spring-soap
---
 .../cxf/spring/FileToCxfMessageDataFormatTest.java      | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git 
a/components/camel-cxf/camel-cxf-spring-soap/src/test/java/org/apache/camel/component/cxf/spring/FileToCxfMessageDataFormatTest.java
 
b/components/camel-cxf/camel-cxf-spring-soap/src/test/java/org/apache/camel/component/cxf/spring/FileToCxfMessageDataFormatTest.java
index 08cecf1faf1b..e34fbe0927ad 100644
--- 
a/components/camel-cxf/camel-cxf-spring-soap/src/test/java/org/apache/camel/component/cxf/spring/FileToCxfMessageDataFormatTest.java
+++ 
b/components/camel-cxf/camel-cxf-spring-soap/src/test/java/org/apache/camel/component/cxf/spring/FileToCxfMessageDataFormatTest.java
@@ -83,13 +83,14 @@ public class FileToCxfMessageDataFormatTest extends 
CamelSpringTestSupport {
     }
 
     private String createBody() throws Exception {
-        return "<soapenv:Envelope 
xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"; 
xmlns:cxf=\"http://cxf.component.camel.apache.org/\";>\n"
-               + "   <soapenv:Header/>\n"
-               + "   <soapenv:Body>\n"
-               + "      <cxf:echo>\n"
-               + "          <cxf:arg0>Camel</cxf:arg0>\n"
-               + "      </cxf:echo>\n"
-               + "   </soapenv:Body>\n"
-               + "</soapenv:Envelope>";
+        return """
+                <soapenv:Envelope 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:cxf="http://cxf.component.camel.apache.org/";>
+                   <soapenv:Header/>
+                   <soapenv:Body>
+                      <cxf:echo>
+                          <cxf:arg0>Camel</cxf:arg0>
+                      </cxf:echo>
+                   </soapenv:Body>
+                </soapenv:Envelope>""";
     }
 }

Reply via email to