You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2014/07/31 23:25:40 UTC
[jira] [Resolved] (AMQ-5298) MQTT Transport can generate class cast
exception when subscription is to a Virtual Topic
[ https://issues.apache.org/jira/browse/AMQ-5298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Bish resolved AMQ-5298.
-------------------------------
Resolution: Fixed
Fixed the NPE scenario. The issue with retained messages is not really related to this code so a separate issue will be opened to cover that.
> MQTT Transport can generate class cast exception when subscription is to a Virtual Topic
> ----------------------------------------------------------------------------------------
>
> Key: AMQ-5298
> URL: https://issues.apache.org/jira/browse/AMQ-5298
> Project: ActiveMQ
> Issue Type: Bug
> Components: MQTT
> Affects Versions: 5.10.0
> Reporter: Timothy Bish
> Fix For: 5.11.0
>
>
> When a client subscribes to a Virtual Topic and sends a duplicate subscription request the method that resends the old retained messages tries to cast the destination from the TopicRegion is finds to a Topic but in this case it would be a VirtualTopicIntercepter and an exception is thrown disconnecting the client.
--
This message was sent by Atlassian JIRA
(v6.2#6252)