Jiri Danek created ARTEMIS-1341:

             Summary: Core JMS does not permit calling 
Message#getBytes(arbitrary type) when message has empty body
                 Key: ARTEMIS-1341
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1341
             Project: ActiveMQ Artemis
          Issue Type: Bug
          Components: Broker
    Affects Versions: 2.3.0
            Reporter: Jiri Danek
            Priority: Trivial

Consider the ActiveMQ Artemis test 
 adapted to run through multiple JMS ConnectionFactories in turn. This test 
passes with Core JMS client, is skipped (or should be skipped) with ActiveMQ 
OpenWire client (that is a JMS 1.1 client) and fails with qpid-jms client.

         BytesMessage bytesMessage = sess.createBytesMessage();

         Message msg = cons.receiveNoWait();

         try {
            fail("Exception expected");
         } catch (MessageFormatException e) {

The test is wrong, see discussion with [~tabish121] at QPIDJMS-313 for details 
and references as to why.

This message was sent by Atlassian JIRA

Reply via email to