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 us...@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-unsubscr...@activemq.apache.org
For additional commands, e-mail: issues-h...@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact


Reply via email to