activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher L. Shannon (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMQ-6981) ActiveMQText message can return null when using VMTransport
Date Thu, 31 May 2018 14:12:00 GMT

     [ https://issues.apache.org/jira/browse/AMQ-6981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Christopher L. Shannon updated AMQ-6981:
----------------------------------------
    Summary: ActiveMQText message can return null when using VMTransport  (was: Concurrent
access to ActiveMQTextMessage getText() can lead to null when using VMTransport)

> ActiveMQText message can return null when using VMTransport
> -----------------------------------------------------------
>
>                 Key: AMQ-6981
>                 URL: https://issues.apache.org/jira/browse/AMQ-6981
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker, JMS client
>    Affects Versions: 5.15.4
>            Reporter: Christopher L. Shannon
>            Assignee: Christopher L. Shannon
>            Priority: Major
>             Fix For: 5.16.0, 5.15.5
>
>         Attachments: NullMessageTest.java
>
>
> The issue occurs when using the VM transport to access the text of the ActiveMQTextMsesage
and the getText() method has to unmarshall data back into text from the byte sequence. 
>  
> The main problem is when there are multiple threads at the same time calling getText()
on the text message there is a race condition where the content can be nulled out before
finishing setting the text.
>  
> This is probably an issue with other message types besides a text message as well.



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

Mime
View raw message