activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolae Mihalache (JIRA)" <>
Subject [jira] [Created] (ARTEMIS-331) Streaming a Large Message with size 0 fails
Date Mon, 04 Jan 2016 12:51:39 GMT
Nicolae Mihalache created ARTEMIS-331:

             Summary: Streaming a Large Message with size 0 fails
                 Key: ARTEMIS-331
             Project: ActiveMQ Artemis
          Issue Type: Bug
          Components: Broker
            Reporter: Nicolae Mihalache

When streaming a "large message" with size 0, the exception below is generated in the server.

The issue can be easily reproduced by changing the SIZE to 0 in LargeMessageTest#testSendStreamingSingleMessage

I'm still using HornetQ 2.4.6 but I tested quickly that the error is present in Artemis.
One side effect in HornetQ (maybe same for Artemis) is that I have several pending large messages
of size 0 stored in a durable queue and because of them not even the other messages of size
greater than 0 are delivered.

13:38:48,883 ERROR [org.apache.activemq.artemis.core.server] AMQ224045: Failed to run large
message deliverer: java.lang.UnsupportedOperationException
        at java.nio.ByteBuffer.array( [rt.jar:1.8.0_66]
        at org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl$LargeMessageDeliverer.deliver(
        at org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl$
        at org.apache.activemq.artemis.utils.OrderedExecutorFactory$OrderedExecutor$
        at java.util.concurrent.ThreadPoolExecutor.runWorker(
        at java.util.concurrent.ThreadPoolExecutor$
        at [rt.jar:1.8.0_66]

This message was sent by Atlassian JIRA

View raw message