You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Alexej Timonin (Jira)" <ji...@apache.org> on 2025/05/18 12:33:00 UTC

[jira] [Created] (ARTEMIS-5483) Provide option to abort consumption of large javax.jms.TextMessage on client side

Alexej Timonin created ARTEMIS-5483:
---------------------------------------

             Summary: Provide option to abort consumption of large javax.jms.TextMessage on client side
                 Key: ARTEMIS-5483
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5483
             Project: ActiveMQ Artemis
          Issue Type: Improvement
          Components: JMS
            Reporter: Alexej Timonin


This improvement request comes from thread in users@activemq.apache.org:
Artemis JMS client: Can I stream body of ActiveMQTextMessage? 
https://lists.apache.org/thread/t2bmc8g6tod1wlqz062g46gpwv52v2y5

Provide an option for clients using JMS api through artemis-jakarta-client to detect when a javax.jms.TextMessage is so large it would crash the client because of out-of-memory errors.

As it is now, a buggy producer can send a text message (type 3) so large that it would crash the consumer because the current implementation of JMS consumer reads whole text message into memory.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@activemq.apache.org
For additional commands, e-mail: issues-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact