This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 690edf3261b2 CAMEL-26012: camel-yaml-dsl-validator - TextBodyFlowTest
no longer expects a pulsar finding (#29807)
690edf3261b2 is described below
commit 690edf3261b2cd8b2a7c8b6fa30f21f1276d7bef
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Nov 13 10:11:45 2026 +0100
CAMEL-26012: camel-yaml-dsl-validator - TextBodyFlowTest no longer expects
a pulsar finding (#29807)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
.../apache/camel/dsl/yaml/validator/TextBodyFlowTest.java | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git
a/dsl/camel-yaml-dsl/camel-yaml-dsl-validator/src/test/java/org/apache/camel/dsl/yaml/validator/TextBodyFlowTest.java
b/dsl/camel-yaml-dsl/camel-yaml-dsl-validator/src/test/java/org/apache/camel/dsl/yaml/validator/TextBodyFlowTest.java
index 966039254eb0..286374536237 100644
---
a/dsl/camel-yaml-dsl/camel-yaml-dsl-validator/src/test/java/org/apache/camel/dsl/yaml/validator/TextBodyFlowTest.java
+++
b/dsl/camel-yaml-dsl/camel-yaml-dsl-validator/src/test/java/org/apache/camel/dsl/yaml/validator/TextBodyFlowTest.java
@@ -1430,10 +1430,10 @@ public class TextBodyFlowTest {
@Test
public void testTheBodyOfMessaging() {
- // the paho consumer gives bytes, so a field read needs an unmarshal;
pulsar and smtp send what converts to
- // bytes or text, so parsed data must be marshalled first, and so must
the reply of a nats consumer that answers
- // (InOut); the converter of spring-rabbitmq may be set on the
component, and an imap mail may be text, a stream
- // or a multipart, which say nothing
+ // the paho consumer gives bytes, so a field read needs an unmarshal;
smtp sends what converts to text, so
+ // parsed data must be marshalled first, and so must the reply of a
nats consumer that answers (InOut); the
+ // converter of spring-rabbitmq and the allowJavaSerializedObject
option of pulsar may be set on the component,
+ // and an imap mail may be text, a stream or a multipart, which say
nothing
String yaml = """
- route:
id: mqtt
@@ -1502,10 +1502,10 @@ public class TextBodyFlowTest {
name: id
simple: ${body[id]}
""";
- assertThat(lines(yaml)).hasSize(4).anySatisfy(m -> assertThat(m)
+ assertThat(lines(yaml)).hasSize(3).anySatisfy(m -> assertThat(m)
.contains("route mqtt: simple reads a field of the body
(${body[id]})")
.contains("the paho consumer gives it as bytes"))
- .anySatisfy(m -> assertThat(m).contains("to: pulsar needs the
body as text, bytes, a stream or a file"))
+ .noneSatisfy(m -> assertThat(m).contains("route publish:"))
.anySatisfy(m -> assertThat(m)
.contains("route service:")
.contains("the body at the end of the route is the
reply to the nats request"))