Timothy Bish created AMQ-5298: --------------------------------- Summary: 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)