You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/01/16 06:51:44 UTC

[GitHub] [camel] davsclaus commented on a change in pull request #6757: cleanup the camel-jms codebase a bit

davsclaus commented on a change in pull request #6757:
URL: https://github.com/apache/camel/pull/6757#discussion_r785398142



##########
File path: components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsMessageBodySetNullTest.java
##########
@@ -83,7 +83,7 @@ public void testSetNullBodyUsingSetBody() throws Exception {
             public void configure() throws Exception {
                 from("jms:queue:foo")
                         .to("mock:foo")
-                        .setBody(constant(null))
+                        .setBody(constant(new Object[] { null }))

Review comment:
       This looks weird/wrong. Setting null as before can be how end users would set a null body.




-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org