bvahdat commented on a change in pull request #6757:
URL: https://github.com/apache/camel/pull/6757#discussion_r785407765
##########
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:
```
.setBody(constant((Object) null))
```
Would be the other option.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]