You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Ramarajan R (Jira)" <ji...@apache.org> on 2023/01/08 01:42:00 UTC

[jira] [Commented] (ARTEMIS-1279) Large message streaming can continue after the message handler has returned

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

Ramarajan R commented on ARTEMIS-1279:
--------------------------------------

I think the issue is fixed with 
 * [ARTEMIS-4083] - when artemis streaming enabled then artemis-core client is not closing inputstream for Bytes message, blocking deletion of file after its processed in windows

Kindly check and close if fixed 

> Large message streaming can continue after the message handler has returned
> ---------------------------------------------------------------------------
>
>                 Key: ARTEMIS-1279
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1279
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Mike Hearn
>            Priority: Major
>
> It's possible for large messages to finish streaming after the handler has returned (but the stream is still in use). The body is then discarded whilst the stream might still be being read.
> There's a simple fix:
> https://github.com/corda/activemq-artemis/commit/a7c242023ebd8dd341e06c27761e3a6d619242b8
> but I'm not sure if it'd have other consequences, like a resource leak.



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