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 ec5e448c1d2678c6946cc4d4bdbd529dfa84b2c2
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Mon Jan 26 20:27:40 2026 +0000

    (chores): ensure usage of text blocks components/camel-jgroups
---
 .../camel/component/jgroups/JGroupsConstants.java  | 24 +++++++++++++---------
 1 file changed, 14 insertions(+), 10 deletions(-)

diff --git 
a/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/JGroupsConstants.java
 
b/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/JGroupsConstants.java
index 9cf875b259ea..9ef48ef41411 100644
--- 
a/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/JGroupsConstants.java
+++ 
b/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/JGroupsConstants.java
@@ -20,22 +20,26 @@ import org.apache.camel.spi.Metadata;
 
 public final class JGroupsConstants {
 
-    @Metadata(description = "Address (`org.jgroups.Address`) of the channel 
associated with the\n" +
-                            "endpoint.",
+    @Metadata(description = """
+            Address (`org.jgroups.Address`) of the channel associated with the
+            endpoint.""",
               javaType = "org.jgroups.Address")
     public static final String HEADER_JGROUPS_CHANNEL_ADDRESS = 
"JGROUPS_CHANNEL_ADDRESS";
-    @Metadata(description = "*Consumer*: The `org.jgroups.Address` instance 
extracted by\n" +
-                            "`org.jgroups.Message`.getDest() method of the 
consumed message.\n" +
-                            "*Producer*: The custom destination 
`org.jgroups.Address` of the message to be sent.",
+    @Metadata(description = """
+            *Consumer*: The `org.jgroups.Address` instance extracted by
+            `org.jgroups.Message`.getDest() method of the consumed message.
+            *Producer*: The custom destination `org.jgroups.Address` of the 
message to be sent.""",
               javaType = "org.jgroups.Address")
     public static final String HEADER_JGROUPS_DEST = "JGROUPS_DEST";
-    @Metadata(description = "*Consumer* : The `org.jgroups.Address` instance 
extracted by\n" +
-                            "`org.jgroups.Message`.getSrc() method of the 
consumed message. \n" +
-                            "*Producer*: The custom source 
`org.jgroups.Address` of the message to be sent.",
+    @Metadata(description = """
+            *Consumer* : The `org.jgroups.Address` instance extracted by
+            `org.jgroups.Message`.getSrc() method of the consumed message.\s
+            *Producer*: The custom source `org.jgroups.Address` of the message 
to be sent.""",
               javaType = "org.jgroups.Address")
     public static final String HEADER_JGROUPS_SRC = "JGROUPS_SRC";
-    @Metadata(description = "The original `org.jgroups.Message` instance from 
which the body of the\n" +
-                            "consumed message has been extracted.",
+    @Metadata(description = """
+            The original `org.jgroups.Message` instance from which the body of 
the
+            consumed message has been extracted.""",
               javaType = "org.jgroups.Message")
     public static final String HEADER_JGROUPS_ORIGINAL_MESSAGE = 
"JGROUPS_ORIGINAL_MESSAGE";
 

Reply via email to