[ 
https://issues.apache.org/jira/browse/ARTEMIS-2068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16611238#comment-16611238
 ] 

ASF subversion and git services commented on ARTEMIS-2068:
----------------------------------------------------------

Commit 74317ef9c433d580396a7ddc32fd7cd9c5676df5 in activemq-artemis's branch 
refs/heads/2.6.x from [[email protected]]
[ https://git-wip-us.apache.org/repos/asf?p=activemq-artemis.git;h=74317ef ]

ARTEMIS-2068 save reading any file to get AMQP large msg size

ServerJMSBytesMessage::getBodyLength can save reading
the whole large message file by reading just its
file size

(cherry picked from commit 3c7252adbca1d497e0c89dd8247f0b2f20e2425e)


> broker should avoid reading any file to get AMQP large msg size
> ---------------------------------------------------------------
>
>                 Key: ARTEMIS-2068
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2068
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>          Components: AMQP, Broker
>            Reporter: Francesco Nigro
>            Assignee: Francesco Nigro
>            Priority: Major
>             Fix For: 2.7.0
>
>
> The broker is reading the whole file containing a large AMQP message each 
> time the body size length is needed. It should avoid that cost just by 
> reading the file size.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to