jbertram commented on code in PR #4426:
URL: https://github.com/apache/activemq-artemis/pull/4426#discussion_r1160000404


##########
artemis-protocols/artemis-openwire-protocol/src/test/java/org/apache/activemq/artemis/core/protocol/openwire/OpenWireMessageConverterTest.java:
##########
@@ -135,6 +138,15 @@ public void testProperties() throws Exception {
       }
    }
 
+   @Test
+   public void testEmptyMapMessage() throws Exception {
+      CoreMessage artemisMessage = (CoreMessage) 
OpenWireMessageConverter.inbound(new ActiveMQMapMessage().getMessage(), 
openWireFormat, null);
+      ActiveMQBuffer buffer = artemisMessage.getDataBuffer();
+      TypedProperties map = new TypedProperties();
+      buffer.resetReaderIndex();
+      map.decode(buffer.byteBuf());

Review Comment:
   Done.



-- 
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]

Reply via email to