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 e4583fb753a7c52cb517328f55feaa8c5a9f1afd Author: Otavio R. Piske <angusyo...@gmail.com> AuthorDate: Fri May 24 20:03:36 2024 +0200 (chores) camel-itest: fix overly complex conversion to String Signed-off-by: Otavio R. Piske <angusyo...@gmail.com> --- .../src/test/java/org/apache/camel/itest/jms/JmsJettyAsyncTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/camel-itest/src/test/java/org/apache/camel/itest/jms/JmsJettyAsyncTest.java b/tests/camel-itest/src/test/java/org/apache/camel/itest/jms/JmsJettyAsyncTest.java index 15d958c8f3a..6333fae99c7 100644 --- a/tests/camel-itest/src/test/java/org/apache/camel/itest/jms/JmsJettyAsyncTest.java +++ b/tests/camel-itest/src/test/java/org/apache/camel/itest/jms/JmsJettyAsyncTest.java @@ -43,7 +43,7 @@ public class JmsJettyAsyncTest extends CamelTestSupport { getMockEndpoint("mock:result").expectsNoDuplicates(body()); for (int i = 0; i < size; i++) { - template.sendBody("activemq:queue:inbox", "" + i); + template.sendBody("activemq:queue:inbox", Integer.toString(i)); } MockEndpoint.assertIsSatisfied(context, 2, TimeUnit.MINUTES);