activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARTEMIS-715) In rare circumstances HornetQ MessageProducer can send a message to wrong queue.
Date Thu, 08 Sep 2016 13:27:20 GMT

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

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

Commit 62f90eaf813c2f374e60bced7c26c6033c5dbeea in activemq-artemis's branch refs/heads/master
from [~chani@me.com]
[ https://git-wip-us.apache.org/repos/asf?p=activemq-artemis.git;h=62f90ea ]

ARTEMIS-715 messages could be sent to wrong queue

In rare circumstances MessageProducer can send a message
to wrong queue


> In rare circumstances HornetQ MessageProducer can send a message to wrong queue.
> --------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-715
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-715
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 1.3.0, 1.4.0
>            Reporter: Dmitrii Tikhomirov
>             Fix For: 1.5.0
>
>
> The problem is in code:
> ...
> else
> {
>     sendRegularMessage(msgI, sendBlocking, theCredits);
>     session.checkDefaultAddress(sendingAddress);
> }
> ...
> When user does not have permission to send message, the sendRegularMessage method throws
an exception, hence session.checkDefaultAddress is not called and default address remains
null. However server changed default address before the exception arises. After this step
the default address is different on client and server.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message